this post was submitted on 14 Dec 2023
1019 points (99.2% liked)
xkcd
8794 readers
95 users here now
A community for a webcomic of romance, sarcasm, math, and language.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thank you, but I gave up halfway through the list.
I got to "The day before Saturday is always Friday" and I was like waaaa?
I thought it is about when Julian calendar was dropped in favour of Gregorian, but that's not it:
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...
E.g. see here https://youtu.be/cpKuBlvef6A
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
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.