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

Dates with day == "00" get parsed regularly #29

Open lucamug opened 2 years ago

lucamug commented 2 years ago

Iso8601.toTime "2000-01-00" returnsOk (Posix 946598400000)

Iso8601.toTime "2000-01-00" == Iso8601.toTime "1999-12-31" returns True

Ellie: https://ellie-app.com/hdDM5pmSv4Xa1 (edited)

laurentpayot commented 1 year ago

Confirmation here: https://stringy.guupa.com/MTk3MC0wMS0wMFQwMDowMDowMA/SXNvODYwMS50b1RpbWU

jamesrweb commented 1 year ago

@rtfeldman This can be closed when #30 is merged.