- No changes since 1.0.0-rc1
- Added RFC 5455 DateTime formatting and parsing
- Removed deprecated Calendar.DateTime.TzPeriod. See version 0.18.0 for alternatives
- Removed deprecated Calendar.TimeZoneData. See version 0.18.0 for alternatives
- Deprecated the Calendar.TimeZoneData module. The Tzdata library can be used instead.
- Deprecated the Calendar.DateTime.TzPeriod module
- Requires a minimum of Elixir version 1.4 instead of previously 1.3
- No longer has a deprecation warning for
deprecated time unit: :milliseconds
in newer Elixir versions
- tzdata dependency version ~> 1.0 allowed
- Fix loss of microsecond resolution when using DateTime.from_naive/2. thanks to jamesotron
- Fix error when using Calendar.DateTime.Parse.rfc3339_utc/1 with missing offset. thanks to erikreedstrom
- Get rid of warnings in Elixir 1.5.
- Allow Elixir versions ~1.3 in mix.exs, which means Elixir 1.5+ is allowed.
- NaiveDateTime and DateTime parsing of RFC3339 and ISO 8601 allows commas as the sign for fractional seconds.
- Get rid of last warning in Elixir 1.4
- Get rid of warnings in Elixir 1.4 (Lasse Ebert)
- The function Calendar.DateTime.now/1 was previously deprecated. It has been changed to returns the same as Calendar.DateTime.now!/1 but as a tuple tagged with :ok. Note that this is a breaking change for those using the deprecated version in 0.16.1. If you were using now/1 with earlier versions of Calendar, you could use now!/1 instead.
- Calendar.DateTime.Parse.unix! function can handle microseconds when provided with a string. E.g. Calendar.DateTime.Parse.unix!("1000000000.01")
- Deprecated iso_8601_basic format function was broken.
This version only works on Elixir 1.3.0 and newer. Use ~> 0.14.2 for Elixir 1.2 or earlier.