Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.96 KB

CHANGELOG.md

File metadata and controls

67 lines (48 loc) · 1.96 KB

Changelog

v0.1.8

  • Changes
    • Support $TZDIR and use it in preference to $TZPATH for overriding the zoneinfo directory. This is the standard environment variable. $TZPATH is kept for backwards compatibility. Thank to @danderson for reporting.

v0.1.7

  • Improvements
    • Reduce chances of raising when something goes wrong getting the time zone information. For example, recover if a time zone hasn't been loaded yet and the cache GenServer isn't available. This fixes crashes in code that may not be easy to debug when there are calendar troubles.
    • Don't load a time zone more than once if multiple processes ask for the same one at the same time.

v0.1.6

  • Improvements
    • Fix warnings when building on Elixir 1.15
    • Improve testing

v0.1.5

  • Improvements
    • Fix Calendar return values when time zone queries are wrong. Thanks to @LostKobrakai for this fix.

v0.1.4

  • Improvements
    • Updated documentation thanks to Wojtek Mach.

v0.1.3

  • Improvements

    • UTC and standard time offsets are now tested for consistency with Tz. Normally you just want the overall offset from UTC and that was already tested (this is what's used in the DateTime calculations). The TZif data doesn't split out the offsets, but it turned out that a heuristic works really well.
    • Unit tests run quickly. Thorough tests are available via mix test --include slow
  • Bug fixes

    • Fixed UTC and standard time offsets discrepancies with Tz (and hence the IANA rules database). The only known exceptions now are Paris and Monoco in the mid-1940s and Morocco. See the unit tests for discussion on the differences.

v0.1.2

  • New features
    • Add Zoneinfo.get_metadata/1 to expose diagnostic information useful for sanity checking date ranges available on a system

v0.1.1

  • New features
    • Add Zoneinfo.valid_time_zone?/1 to quickly check if a time zone is in the database

v0.1.0

Initial release to hex.