Hacker News new | ask | show | jobs
by shazar 1597 days ago
> So if you’re writing code and are trying to use the time 00:00:00 to represent “no time”, you will be wrong in these countries.

Well, obviously using `00:00:00` as no-time is a terrible idea, but isn't that statement just wrong? If it's used to represent no-time, it would actually have a very low chance of doing what it's supposed to do in those countries, but fail all the time at all other time zones.

1 comments

FogBugz calculated “daily task” times based on the site’s time zone. If this was set to a timeline like Chile, the daily tasks processor would crash in a loop, until the next day, which did have a 00:00:00. This caused horrible alerts to plague the systems engineer on call.