Re: Letting users select timezone

[email protected] (Eugene van der Pijll)
Newsgroups perl.datetime
Message-ID <[email protected]>
Dave Rolsky schreef:
> On Tue, 20 Jan 2009, Eugene van der Pijll wrote:
> 
> >It may be useful if these kinds of lists were packaged and put on
> >CPAN; maybe I'll do that at some time.
> 
> If you generated this list programmatically, it'd be better to include it 
> in DateTime::TimeZone, since the list of what's unique can change with 
> each new release of the Olson database.

It's partly programmatically, partly by hand. It's easy to write a
script to make the list of "equivalent timezones". For example,
America/Iqaluit is equivalent to America/Pangnirtung is equivalent to
America/New_York.

To select America/New_York for the list, and not Iqaluit, Pangnirtung,
Vevay, Nipigon, or any other name, has to be done by hand.

Eugene
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.