- Fix range argument for
String.slice/2
to avoid warnings.
- Allow missing leading zeros in most integer modifiers.
- All
:error
tuples now contain an exception struct. - Add option
:time_zone
forDatix.DateTime.parse/3
andDatix.Datetime.parse!/3
. - Update return value of
Datix.DateTime.parse/3
. Returns now an:ok
tuples with the parsedDateTime
or an:error
tuple with an exception struct. - Add option
pivot_year
. This option is required if the format string contains%y
(year as 2-digits).
- Add
Datix.compile/1
andDatix.compile!/1
. These return a "compiled" format that can be now passed toDatix.strptime/3
and other functions. - Fix a bug with
Datix.DateTime.parse/3
when parsing strings with a timezone abbreviation but no timezone offset.
- Fix parsing of times in 12-hour-system.
- The very first version.