This project is archived and is in readonly mode.
Time Zones, support for all possible zoneinfo
Reported by Jacob Burkhart | November 7th, 2008 @ 05:10 PM | in 2.x
In working with time zone info coming from linux boxes, it is desirable to support:
in_time_zone("US/Eastern")
on time objects.
Note that:
in_time_zone("America/New_York")
and
in_time_zone("Eastern Time (US & Canada)")
are both supported already.
I'd like to be able to support all strings from /usr/share/zoneinfo
Anybody already implement this? or interested in having this patched into active support?
Comments and changes to this ticket
-
Geoff Buesing November 7th, 2008 @ 07:21 PM
- State changed from new to wontfix
If you require the full TZInfo gem via config.gem (as opposed to relying on the minimized version bundled with ActiveSupport), you'll then be able to use "US/Eastern"-style identifiers.
The ActiveSupport-bundled TZInfo only includes the definitions necessary to support ActiveSupport::TimeZone identifiers.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>