rtfeldman / elm-iso8601-date-strings

Convert between ISO-8601 date strings and Time.Posix
https://package.elm-lang.org/packages/rtfeldman/elm-iso8601-date-strings/latest
BSD 3-Clause "New" or "Revised" License
34 stars 21 forks source link

Fails when seconds digits not included #23

Closed danabrams closed 3 years ago

danabrams commented 5 years ago

Iso8601.toTime "05-30-2019T21:35" results in Err [{ col = 17, problem = ExpectingSymbol ":", row = 1 }], even though it's a perfectly acceptable format.

This is particularly important because this is the string format that a browser-native "datetime-local" input returns.

rtfeldman commented 3 years ago

Fixed by https://github.com/rtfeldman/elm-iso8601-date-strings/pull/24

rtfeldman commented 3 years ago

Fix released in 1.1.4 thanks to @danabrams's PR!