3 ms·
You shouldn't be too happy until the entire world gets on board. Now you just have another conditional branch to follow for a certain region. Complexity increas
by kevinherron 8y ago
You shouldn't be too happy until the entire world gets on board. Now you just have another conditional branch to follow for a certain region. Complexity increase :(
Even with the entire world on board there's probably a conditional branch per region where you do things differently based on whether the date is before or after the change went into effect. Maybe this is just a problem for the authors of Date/Time libraries though :)
- jandrese 8y agoThat complexity is already there. Different regions have different rules already, even in the US there are states/municipalities that don't do DST so their relative offset from their neighbors changes twice a year. The day I am made God Emperor of Earth I will institute a single time standard for the entire planet. No timezones, no AM/PM nonsense, no daylight savings time, nothing. If it means you're getting up at 14:00 and going to bed when the sun sets at 06:00 then that's just how it is. I would also not worry about leap seconds until you get 60 of them and need to do a full minute change. This would be about a once a century thing. Leap years sadly still need to be a thing to prevent the calendar from wandering off.