Closed marianopeck closed 5 years ago
Well, it says so in the comment: since the current implementation of Date is timezone dependent (in Pharo and Squeak it is a timespan of 1 day starting at a DateAndTime that contains an offset, it is more than just a year/month/day, it is what it is).
+00:00 and Z are the same (ISO 8601 standard, Z being shorter).
Yes, it should be better explained in the new spec document.
This might be a bit implementation dependent, I guess. But STON can't solve all problems in the world, can it ;-)
Uhh sorry, I didn't know that +00:00 and Z meaning the same was part of ISO 8601 . Makes more sense now. Thanks for the explanation!
Hi Sven,
Checking on
Date >> stonOn:
as well as intestDate
I see that you append a trailingZ
if the date is in UTC (offset = 0). What's the reasoning behind that? Why+00:00
is not enough? Finally, I don't see this defined/explained in the spec: https://github.com/svenvc/ston/blob/master/ston-spec.md#dateAny thoughts?
Thanks in advance,