GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: TZInfo Timezone plugin
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/tzinfo_timezone.git
name age message
file README Thu Mar 30 08:32:03 -0800 2006 tzinfo_timezone plugin [jamis]
file Rakefile Thu Mar 30 08:32:03 -0800 2006 tzinfo_timezone plugin [jamis]
file init.rb Thu Mar 30 08:32:03 -0800 2006 tzinfo_timezone plugin [jamis]
directory lib/ Wed Sep 10 12:11:45 -0700 2008 Sri Jayawardenepura should map to Asia/Colombo,... [jamis]
directory test/ Tue Apr 01 16:25:03 -0700 2008 Add TzinfoTimezone#dst_utc_offset [sstephenson]
README
TZInfo Timezone
===============

This plugin installs a replacement for the TimeZone class. The replacement
uses the TZInfo library (http://tzinfo.rubyforge.org) 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 (jamis@37signals.com)
released under the MIT license