4 ms·
"Remember that time zones are a thing and not everyone is in America/Los_Angeles..."
by kinghajj 11y ago
"Remember that time zones are a thing and not everyone is in America/Los_Angeles..."
- kuschku 11y agoThat’s why I personally love most european companies, as most just assume UTC.
- DonHopkins 11y agoThe gold standard is software designed to be run near the North and South Poles, like snowmobile and ICBM navigation systems, which need to be able to switch between all time zones quickly.
- MichaelGG 11y agoWhy would an ICBM need to use local timezones at all? I can't imagine any teams up their using more than one timezone anyways. Perhaps UTC + their home zone?
- jamie_ca 11y agoAfter a 15-year career programming, I'm pretty sure the only sane way to handle timestamps is everything UTC server side, and let the UI convert to localtime on display.
- kuschku 11y agoYup. That’s also my solution. Sadly, we’ve had to deal with doing other things recently, too, as our software was run on servers with the timezone set to UTC, but the hardware clock being 3 hours ahead of UTC (this is common especially on old Windows installs). The result was that the displayed time on the server was local time, but if we sent it to the client, we got 3h offset there as well.