Re: DateTime::TimeZone and etcetera zones
[email protected] (Zefram) Tue, 3 Dec 2013 12:13:28 +0000
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
Alfie John wrote: >I had a bit of trouble using timezones defined in the Olson etcetera >data file. DT:TZ intentionally doesn't support them. It's not aiming to provide precisely the semantics of the Olson database, and you'll see they're not listed in DT:TZ:Catalog. If you want to resolve zone names exactly as in the Olson database, use DateTime::TimeZone::Olson (a separate distribution). If you want timezones of fixed offset, prefer DateTime::TimeZone::OffsetOnly over the Olson Etc/ names. -zefram