[squeak-dev] TimeZone Check-In
Sean P. DeNigris
sean at clipperadams.com
Wed Sep 4 16:52:47 UTC 2019
Did the recent changes to Squeak's Date/Time handling (or any 3rd party lib)
ever solve the following longstanding Chronology bug:
>Consider this thought experiment:
> At 11:59pm before DST changes, eval aDate := '1/1/1901' asDate.
> Now, wait two minutes and at 12:01am eval self assert: '1/1/1901' asDate =
> aDate and… whammo, an exception!
> The "different" offsets render equal dates unequal depending on when the
> objects were created.
> The fact that the offset is the one active at object creation is the key
> error, because it should be the offset active when the date occurred.
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html
More information about the Squeak-dev
mailing list
|