elm-iso8601-date-strings icon indicating copy to clipboard operation
elm-iso8601-date-strings copied to clipboard

Error in readme: Time.Posix is not in UTC

Open malaire opened this issue 5 years ago • 2 comments

Readme says

If it encounters a UTC offset in the string, it normalizes and discards it such that the resulting Time.Posix value is in UTC no matter what.

The end part "such that the resulting Time.Posix value is in UTC no matter what." is wrong. Time.Posix is never in UTC as it's independent from any timezone.

malaire avatar May 21 '20 21:05 malaire

Internally in the code there is some conversion work to translate the output value to UTC like in the fromTime and toTime functions so that the parsed output will be a UTC equivelant Time.Posix. Maybe the wording could be better here though... any suggestions?

jamesrweb avatar May 21 '21 20:05 jamesrweb

@rtfeldman I think this issue could be closed now, what do you think?

jamesrweb avatar Jan 17 '23 13:01 jamesrweb