Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Time Zones, support for all possible zoneinfo

#1344

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?

Reported by Jacob Burkhart · November 7th, 2008 @ 05:10 PM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Geoff Buesing
    Geoff Buesing
    • 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.

    November 7th, 2008 @ 07:21 PM