[ENH] DateAndTime

David T. Lewis lewis at mail.msen.com
Mon Apr 29 22:45:29 UTC 2002


On Mon, Apr 29, 2002 at 01:32:52PM -0400, Lex Spoon wrote:
> Ross Boylan <RossBoylan at stanfordalumni.org> wrote:
> > 
> > One problem I noticed is that the classes don't track changes to and
> > from daylight savings time.  This might be less of an issue on systems
> > where the clock is set to UTC, but I find I need to reset the offset
> > from UTC manually.  Even if the clock is on UTC, presumably this would
> > need to be reset to get the correct local wall-clock time.  I'm not
> > sure if this is specific to the DateAndTime classes in the enhancement
> > I posted, or if other implementations (e.g., the classes in the base
> > image) have similar problems.
> 
> Actually, if you additionally use my plugin for local time, then you get
> ANSI *and* proper local times, which track daylight savings equally as
> well as the underlying OS.

And of course http://minnow.cc.gatech.edu/squeak/1076 for the really
over the top everything you ever wanted to know about leap seconds but
were afraid to ask version.

Dave




More information about the Squeak-dev mailing list