this post was submitted on 15 Oct 2026
168 points (98.3% liked)
Technology
88823 readers
3717 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Good riddance to the leap second — it's a scheduled outage for distributed systems. The 2017 Cloudflare incident happened purely because some code paths choked when 23:59:60 showed up, and every insertion window means NTP, databases, and financial systems all hold their breath.
The leap hour is a clever deferral though: pushing the correction out roughly a century means nobody running today has to implement anything, and by the time it matters the drift gets handled wholesale instead of one second at a time. Slightly odd that it's the same diplomatic mechanism as the CGPM voting on measurement units deciding how software keeps time, but the engineering outcome is right.
https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b923ca
If your software is choking on completely expectable events, it it not sufficiently robust.
As you just proved, while it might be possible to write robust software that deals with dates/times, I wouldn't bet on it, and it's Definitely not practical to try.
But you are right that leap seconds were common enough to try and handle. There's a bunch of ways to handle them though, each incompatible with the others.
There is an easy solution in 100 years. You simply adjust your timezone. Something we already have the capability to do. We already tolerate hour deviations from noon.
Think of it more like that the arbitrarily zero time point on the globe moves 1 hour west. But we keep longitude fixed.
The only weird thing is more places will go to +13 and some to +14. But that's all relative.