TZInfo is a Ruby library that uses the standard Time Zone Database (often called tz or zoneinfo) to provide daylight savings aware transformations between times in different time zones. The tz database is compiled into Ruby modules which are packaged in the release. No external zoneinfo files are required at runtime.
Instructions for installing and using TZInfo can be found in the project readme file.
API Documentation is available.
There are two TZInfo mailing lists:
The RubyForge project page for TZInfo can be found at http://rubyforge.org/projects/tzinfo/.
Please use the Tracker to submit any bugs or feature requests. You can download releases from the File list. The source code is available through SVN.
Ruby on Rails (version 2.1 and later) uses TZInfo for timezone support. Rails can automatically store times in UTC and convert to the user's timezone for display.
Ruby/TZFile provides a similar interface to TZInfo, but requires you to have zoneinfo files available locally.
6th November 2011