TZInfo is a Ruby library that uses the standard tz (Olson) database 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. See Working wth Time Zones in the Ruby on Rails Wiki for details.
Ruby/TZFile provides a similar interface to TZInfo, but requires you to have zoneinfo files available locally.
15th January 2011