Skip to content

Releases: smartrent/zoneinfo

v0.1.8

22 Dec 23:16
Compare
Choose a tag to compare
  • 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

08 Aug 00:48
Compare
Choose a tag to compare
  • 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

02 Jul 13:40
Compare
Choose a tag to compare
  • Improvements
    • Fix warnings when building on Elixir 1.15
    • Improve testing

v0.1.5

08 Feb 00:02
Compare
Choose a tag to compare
  • Improvements
    • Fix Calendar return values when time zone queries are wrong. Thanks to
      @LostKobrakai for this fix.

v0.1.4

24 Jul 13:12
Compare
Choose a tag to compare
  • Improvements
    • Updated documentation thanks to Wojtek Mach.

v0.1.3

15 Mar 00:03
Compare
Choose a tag to compare
  • 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

11 Mar 04:03
Compare
Choose a tag to compare
  • New features
    • Add Zoneinfo.get_metadata/1 to expose diagnostic information useful for
      sanity checking date ranges available on a system

v0.1.1

02 Mar 19:28
Compare
Choose a tag to compare
  • New features
    • Add Zoneinfo.valid_time_zone?/1 to quickly check if a time zone is in the
      database

v0.1.0

02 Mar 19:28
Compare
Choose a tag to compare

v0.1.0

Initial release to hex.