this post was submitted on 03 Apr 2024
1085 points (96.2% liked)

Programmer Humor

19544 readers
948 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] arc@lemm.ee 1 points 7 months ago* (last edited 7 months ago) (1 children)

It doesn't work like that. UTC goes forward always. Leap seconds are scheduled and known in advance. NTP time services will just smear time advancement a little to account for an additional second. Time never has to go backwards. This is how Google does it.

[โ€“] uis@lemm.ee 1 points 7 months ago

This is how Google does it in their datacenters, but not major OSes by default