[squeak-dev] Time primitives

Bert Freudenberg bert at freudenbergs.de
Thu Apr 9 10:04:53 UTC 2015


> On 08.04.2015, at 14:06, David T. Lewis <lewis at mail.msen.com> wrote:
> 
> 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

So you're in a far away time zone, right? And yours still gets reported as +01:00?

- 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/20150409/dec3d215/smime.bin


More information about the Squeak-dev mailing list