News for hackers. Stuff that matters.
Re:The world nearly adopted a calendar with 13 months of 28 ... by theK on Monday November 06, 2023 @04:25PM (#38169238)
I love how the time zone designator chapter on Wikipedia also illustrates a common complexity pitfall.

> So the zone designation for New York (on standard time) would be "−05:00"

Except for the other half of the year where it is "-04:00". If you, by chance, pick that offset up in logic, make sure that where you apply it it is still the same half of the year! Classical off by one.

There are no comments on this comment yet.