[squeak-dev] Re: 4.3 - new Bug in Locale >> primTimezone?

Jon Hylands jon at huv.com
Tue Jan 31 16:26:57 UTC 2012


Actually, some additional information...

Turns out the 4.2 testing I was doing was with the Cog VM. With the normal
4.2 VM (which is the same as the 4.3 VM), the problem shows up in 4.2 also.

So this appears to be an issue with the latest Windows VM, which is
Squeak4.1.1 from Jul 27, 2010...

- Jon


On Tue, Jan 31, 2012 at 11:12 AM, Jon Hylands <jon at huv.com> wrote:

>
> Hi everyone,
>
> I've ported some of my code into Squeak 4.3 (was running in 4.2 before),
> and ran into a weird issue comparing Date objects.
>
> When you execute "Date today", it produces a Date object with DateAndTime
> localTimeZone's offset, which is set upon image startup to be Locale >>
> offsetLocalToUTC, which in turn calls Locale >> primTimezone.
>
> On a 4.2 image, on both my XP and Windows 7 machines, that primitive
> returns -300 (minutes), which is -5 hours, which is correct (since I live
> in SW Ontario, Canada, which is EST).
>
> On a 4.3 image, with or without updates, that method returns -240, which
> is -4, which is clearly wrong at this point in time.
>
> - Jon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120131/21df7bb9/attachment.htm


More information about the Squeak-dev mailing list