v1.2.3

@philr philr released this Mar 25, 2017 · 128 commits to master since this release

  • Reduce the number of String objects allocated when loading zoneinfo files. #54.
  • Make Timezone#friendly_identifier compatible with frozen string literals.
  • Improve the algorithm for deriving the utc_offset from zoneinfo files. This now correctly handles Pacific/Apia switching from one side of the International Date Line to the other whilst observing daylight savings time. #66.
  • Fix an UnknownTimezone exception when calling transitions_up_to or offsets_up_to on a TimezoneProxy instance obtained from Timezone.get_proxy.
  • Allow the Factory zone to be obtained from the Zoneinfo data source.
  • Ignore the /usr/share/zoneinfo/timeconfig symlink included in Slackware distributions. #64.
  • Fix Timezone#strftime handling of %Z expansion when %Z is prefixed with more than one percent. #31.
  • Support expansion of %z, %:z, %::z and %:::z to the UTC offset of the time zone in Timezone#strftime. #31 and #67.

TZInfo v1.2.3 on RubyGems.org

Downloads

v0.3.46

@philr philr released this Dec 2, 2015 · 331 commits to master since this release

  • From version 2015e, the IANA time zone database uses non-ASCII characters in
    country names. Backport the encoding handling from TZInfo::Data to allow
    TZInfo 0.3.x to support Ruby 1.9 (which would otherwise fail with an invalid
    byte sequence error when loading the countries index). Resolves #41.

TZInfo v0.3.46 on RubyGems.org

Downloads