Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: