[squeak-dev] Time primitives

Bert Freudenberg bert at freudenbergs.de
Wed Apr 8 08:56:13 UTC 2015


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?!

- Bert -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150408/f9c988fd/smime-0001.bin


More information about the Squeak-dev mailing list