Epoch is your friend, or use UTC. At least that’s my layman reasoning. I have no challenges working with DateTime except when I don’t know the underlying conditions applied from the source code.
Comment on xkcd #2867: DateTime
hakunawazo@lemmy.world 11 months agoThank you, but I gave up halfway through the list.
whoisearth@lemmy.ca 11 months ago
kurwa@lemmy.world 11 months ago
I got to “The day before Saturday is always Friday” and I was like waaaa?
sukhmel@programming.dev 11 months ago
I thought it is about when Julian calendar was dropped in favour of Gregorian, but that’s not it:
elvith@feddit.de 11 months ago
Also some of the islands around the International Date Line did switch their stance on which side of the Date Line they are. So… they might have had a day twice or lost a whole day in the process. And maybe, they didn’t change sides only once…
sukhmel@programming.dev 11 months ago
A great video you linked, the missing Friday is in it on timestamp 22:45
The Thursday 29th of December 2011 was followed by Saturday 31st of December 2011 on Samoa