timezones
Eric Ulevik
eau at fast.fujitsu.com.au
Fri Dec 3 00:51:15 UTC 1999
From: Craig Latta <Craig.Latta at NetJam.ORG>
> > Also, Squeak in the future may well have a good timezones library...
>
> I posit there is no such thing. Timezones are defined politically, subject
to no central authority, as far as I can tell.
>
> > ...the appropriate thing to access off the network is the database of
> > timezones, not the current offset.
>
> Assuming the library is kept correct continuously (not easy), then this
would amount to the same thing. If it weren't, it wouldn't be useful.
There is a quite good database of Time Zone information which is used in
almost all Unixes. It is updated regularly; there have been 10 releases so
far this year.
Data can be found at ftp://elsie.nci.nih.gov/pub/tzdata1999j.tar.gz
Code can be found at ftp://elsie.nci.nih.gov/pub/tzcode1999i.tar.gz
Given time (which I haven't found), I would like to incorporate this into
Squeak. Once the code is ported from C to Smalltalk, it should be easy to
import new data versions.
Regards,
Eric Ulevik
More information about the Squeak-dev
mailing list
|