TZInfo is a Ruby library that provides access to time zone data and allows times to be converted using time zone rules.
TZInfo requires a source of timezone data. There are two options:
zic
utility. Most
Unix-like systems include a zoneinfo directory.
By default, TZInfo will attempt to use TZInfo::Data. If TZInfo::Data is not available, then TZInfo will search for a zoneinfo directory instead.
Custom data sources can also be created and used with TZInfo.
gem files are available on RubyGems.org:
Instructions for installing and using TZInfo can be found in the project readme file.
API Documentation for TZInfo is available on RubyDoc.info.
TZInfo and TZInfo::Data are released under the MIT license. Please refer to the license files (TZInfo, TZInfo::Data) for details.
Source code for TZInfo and TZInfo::Data is available on GitHub:
Please post any bugs, issues, feature requests or questions about TZInfo to the GitHub issue tracker. Issues with the underlying time zone data should be raised on the Time Zone Database Discussion mailing list.
Information about releases can be found on GitHub:
Phil Ross
7 January 2021