Fix bug printing negative offsets - thanks @kdelwat
The library now strict about parsing times. Before it was liberal in accepting strings with dates or times in them. Now only a valid ISO8601 date/time string will be parsed.
This should cause a major version change, but Elm can not detect the change.
Breaking change - offset changed from a tuple of (hour, minute) to an Int of minutes. This fixes a bug found by @jinjor for when an offset is less than one hour and negative. Is there such an offset? Not that we can find.
fix fromTime incorrecly rounding milliseconds up to a second - @tom2
Add a JSON decoder Use the Time.Weekday type
Fix large ints. The seconds value was not getting correctly handled.
Create an error when a string is empty - thanks @girishso Changed error message from "unknown error" to "Unable to parse time"
Back to Int. Since the elm/time
Posix
is integer based.
- Adds toPosix and fromPosix to be compatible with
elm/time
- Use Float for toTime and fromTime to be compatible with core Time.Time
- Created diff, sub, and add functions
Note version 4.0.0 was releases but the pacakge had the incorrect version number. Thanks @jesse-c
- Fix an infinite loop when handling New Years
- Hide the time model internals
- Fix rounding error at the boundary of months
- Converted to Elm 0.17
- fromString returns a Result String Time
- Released