[squeak-dev] Spur + DateAndTime: bug?
eliot.miranda at gmail.com
Mon Jul 14 22:53:01 UTC 2014
On Mon, Jul 14, 2014 at 2:11 PM, Frank Shearar <frank.shearar at gmail.com>
> shows a not-very-helpful test failure report: Expected
> '2002-05-1...etc... but was '2002-05-1...etc....
> If build.squeak.org is anything like my machine, that failure might
> more profitably be reported as:
> Expected '2002-05-16T17:20:00+00:00' but was '2002-05-16T17:20:00+01:00'
> from this assertion:
> self assert: '2002-05-16T17:20:00+00:00' equals: ' 2002-05-16T17:20'
> asDateAndTime printString.
> Is this expected (because of changes in datetime primitives)?
This isn't expected. I got as far as finding out that the difference is
due to Spur answering 1 hour off in DateAndTime class>>localOffset. That
itself could be as simple as DataAndTime's LocalTimeZone variable not being
flushed. Because when I evaluate TimeZone default offset I get 0 as
expected. Alas I'm mired in a performance regression right now so have no
time to look at this yet.
Could be because the Preferences valueOfFlag: #useLocale is false, which it
Could be because Locale startUp: isn't evaluated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev