[squeak-dev] TimeStamp offsets
Tim Johnson
digit at sonic.net
Mon Apr 2 15:26:39 UTC 2018
Hi all,
I noticed the following:
| t1 t2 s |
t1 := TimeStamp now.
s := String streamContents: [:stream | t1 storeOn: stream ].
t2 := TimeStamp readFrom: s readStream.
{ t1 offset. t2 offset. t1 = t2 } printIt -> {-0:07:00:00 . 0:00:00:00 . false}
A web search turned up this thread from 2017:
http://forum.world.st/DateAndTime-offset-just-bit-me-td4938463.html <http://forum.world.st/DateAndTime-offset-just-bit-me-td4938463.html>
I’m wondering if there has been any resolution or if the situation is the same: I should try the fixes from UTCDateAndTime.
Happy to write a test if this is worth the effort.
Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180402/f6a4ae82/attachment.html>
More information about the Squeak-dev
mailing list
|