[squeak-dev] Time primitives

David T. Lewis lewis at mail.msen.com
Wed Apr 8 12:06:29 UTC 2015


On Wed, Apr 08, 2015 at 10:56:13AM +0200, Bert Freudenberg wrote:
> On 08.04.2015, at 10:33, Levente Uzonyi <leves at elte.hu> wrote:
> > 
> > DateAndTime now. "==> 2015-04-07T23:30:28.665+01:00"
> > DateAndTime now. "==> 2015-04-07T23:31:32.962+01:00"
> > 
> > Both values are in the CET(+1) time zone, but the actual time zone is CEST(+2). Both images were started in CEST.
> 
> Interesting. In an Etoys image on an Interpreter on Mac OS I get the right time zone:
> 
> DateAndTime now
> ==>2015-04-08T10:49:33+02:00
> 
> That one uses LocalePlugin.
> 
> Trunk image on Cog:
> 
> DateAndTime now
> ==> 2015-04-08T10:48:38.991+01:00
> 
> > I'm telling that the LocalePlugin can find out the correct time zone in case of DST changes, but it seems like gettimeofday() can't.
> 
> In Trunk, #useLocale is disabled (enabled in Etoys). Are we seriously all using +01:00 times, and still expecting users to set the right time zone manually?!
> 

That's a problem for sure, we should fix it in the upcoming release

Dave



More information about the Squeak-dev mailing list