Re: Getting a named DateTime::TimeZone from an offset

[email protected] ("Randy J. Ray")
Newsgroups perl.datetime
Message-ID <[email protected]>
> You can't.  They're hopelessly ambiguous.

I realize there is ambiguity. But even a list of matching ones would be better
than having to do it manually with each new application. For that matter, even
using the values from the Olsen database and whatever they default-link to,
would allow access to the names for display purposes.

In fact, since I'm really just after the short names for the sake of
pretty-printing dates for end-users who aren't impressed by "-08:00" where
they'd expect "PDT", I can use any of the matching zones. It just seems a waste
to have to iterate over the whole set to get the ones that match a specific offset.

Randy
-- 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray      Sunnyvale, CA      http://www.rjray.org   [email protected]

Silicon Valley Scale Modelers: http://www.svsm.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.