timex v3.6.1 Release Notes

Release Date: 2019-06-27 // over 1 year ago
  • Potentially Breaking

    • Require Elixir v1.6+

    โž• Added

    • โœ… Setup property based test framework and add sample tests (#480)
    • ๐ŸŒ Turkish translation (#534)
    • โž• Add details to parsing documentation (#540)
    • ๐Ÿ‘Œ Support time units in singular (#509)
    • ๐Ÿ“š #538 documentation of default formatting directives
    • ๐Ÿ‘Œ Support for tzdata 1.0.0 (#536)

    ๐Ÿ›  Fixed

    • โž• Address handling of ambiguity in timezone conversions by using UTC clock time, where possible. See #488
    • #491 gracefully handle errors resolving a timezone using wall clock time
    • #514 gracefully handle converting date to datetime on tz boundary
    • #531 address some issues with shifting over timezone boundaries
    • #507 unnecessary tz conversion during logical shifts results in erroneous results
    • #532 shift priority incorrectly inverted
    • #537 precision not preserved in some situations
    • ๐Ÿ—„ Elixir 1.8 deprecations
    • Timex.diff/2 spec
    • Timex.Timezone.convert/2 when using custom time zones
    • ๐ŸŒ Letter encoding on PT translation
    • ๐ŸŒ Swedish translation id for March

Previous changes from v3.5.0

  • โž• Added

    • Timex.set/2 now also accepts setting the :date from a %Date{} struct.
    • ๐Ÿšš Interval.difference/2 removes one interval from another