News for hackers. Stuff that matters.
Re:Ask HN: Did you encounter any leap year bugs today? by histories on Friday March 01, 2024 @06:56AM (#39560922)
>Omitting a leap year every 4000 years

Wait, is this right? omitting every 100 and adding every 400 should be enough.

EDIT: the 4000-year rule is just a proposal for now. So 365.2425 is correct.

Re:Ask HN: Did you encounter any leap year bugs today? by mark-r on Friday March 01, 2024 @08:24AM (#39561527)
None of us will live long enough to see the 4000-year rule become a problem. I don't even expect to be around for the next 100-year rule.