News for hackers. Stuff that matters.
Re:Hate leap seconds? Imagine a negative one by FabHK on Thursday January 13, 2022 @03:39PM (#29926509)
Pick any two:

1. 86400 seconds a day

2. SI seconds

3. Noon synced up with the sun

With UTC, we drop 1.

With UT1, we drop 2.

With TAI, we drop 3.

Maybe we should have gone with TAI, or with UT1 - I think that's what Julia does, sort of:

https://docs.julialang.org/en/v1/stdlib/Dates/#footnote-1

Re:Hate leap seconds? Imagine a negative one by bumbledraven on Thursday January 13, 2022 @05:26PM (#29927815)
Using TAI was also djb's solution to the problem. https://cr.yp.to/proto/utctai.html
Re:Hate leap seconds? Imagine a negative one by mavhc on Thursday January 13, 2022 @03:46PM (#29926599)
Yep, just use TAI, you're already converting time to show it locally, so no problem also including leap seconds in that conversion