Time::fromISO8601()

#1

In locales where the decimal separator is comma, Time::toISO8601() generates a string like this, which is correct:

2016-02-16T15:03:57,999Z

But Time::fromISO8601() don’t recognise the comma as a separator. I believe it is an easy fix, in juce_Time.cpp, just replacing (*t == ‘.’) with (*t == ‘.’ || *t == ‘,’)

Thanks.

0 Likes

#2
0 Likes