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

What kind of codepath causes systems to die when crossing the date line? Shouldn't all times be in UTC, and certainly any change of timezone is a display-only issue? What would be the point of using local timezones for any "systems" type stuff?


My guess would be that the problem isn't time, but rather the code dealing with the position of the plane in longitude as it crosses over. Perhaps it spat out an unexpected negative, or even something undefined.


I would think more than half the code for these types of systems is exception handling.




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: