Today an international group of scientists, diplomats, and timekeepers voted to end the leap second, which has been keeping Coordinated Universal Time (UTC) aligned with the time according to Earth’s rotation (UT1) within one second of difference.

A new system, called the “leap hour,” will allow the Earth’s rotation and official time to fall out of alignment by a full hour

  • joey_builds@eviltoast.org
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    1
    ·
    12 days ago

    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.

      • davidgro@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        11 days ago

        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.