Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-core

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib Sri Jayawardenepura should map to Asia/Colombo, not Dhaka September 10, 2008
Octocat-spinner-32 test Add TzinfoTimezone#dst_utc_offset April 01, 2008
Octocat-spinner-32 README tzinfo_timezone plugin March 30, 2006
Octocat-spinner-32 Rakefile tzinfo_timezone plugin March 30, 2006
Octocat-spinner-32 init.rb
TZInfo Timezone

This plugin installs a replacement for the TimeZone class. The replacement
uses the TZInfo library ( to do the time zone
conversions, and thus takes into account daylight saving, for free.

It is not a 100%-compatible replacement, however. If you use TimeZone#unadjust
anywhere, you'll need to replace those calls, possibly with #local_to_utc.
Also, the #adjust method is deprecated--it is better (and easier to read) if
you use the #utc_to_local method instead.

Note that you will need to have the tzinfo library installed separately--it is
not bundled with this plugin. You can easily install tzinfo as a gem:

  gem install tzinfo

Copyright (c) 2006 Jamis Buck (
released under the MIT license
Something went wrong with that request. Please try again.