this post was submitted on 14 Dec 2023
1016 points (99.2% liked)

xkcd

8588 readers
221 users here now

A community for a webcomic of romance, sarcasm, math, and language.

founded 1 year ago
MODERATORS
 

https://xkcd.com/2867

Alt text:

It's not just time zones and leap seconds. SI seconds on Earth are slower because of relativity, so there are time standards for space stuff (TCB, TGC) that use faster SI seconds than UTC/Unix time. T2 - T1 = [God doesn't know and the Devil isn't telling.]

you are viewing a single comment's thread
view the rest of the comments
[โ€“] reverendsteveii@lemm.ee 9 points 9 months ago (1 children)

I was transcribing it from memory and that exact problem cost me like two hours when I was writing it the first time. Well spotted, now write me a unit test for that case.

[โ€“] drislands@lemmy.world 2 points 9 months ago

Y'know, I legitimately said to myself "I bet they were writing that from memory and just forgot the edge case. I wonder if that was a problem when doing it originally?" before I wrote that comment. ๐Ÿ˜‚ Time to get some Spock tests set up!