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

Parse failure #14

Closed simonh1000 closed 5 years ago

simonh1000 commented 5 years ago

This string was parseable with Date.fromString.

Iso8601.toTime "Fri Jun 01 2018 15:49:44 GMT+0200 (Central European Summer Time)"
Err [{ col = 1, problem = Problem ("Expected 4 digits, but got 0"), row = 1 }]
    : Result (List Parser.DeadEnd) Time.Posix
gyzerok commented 5 years ago

@simonh1000 does this comply with ISO8601? I am not sure this is a valid format according to the standart.