2 ms·
Fundamentally wrong? That's a really odd thing to say. http://en.wikipedia.org/wiki/Coordinated_Universal_Time http://en.wikipedia.org/wiki/Coordinated_Univers
by mattmanser 13y ago
Fundamentally wrong? That's a really odd thing to say.
http://en.wikipedia.org/wiki/Coordinated_Universal_Time http://en.wikipedia.org/wiki/Coordinated_Universal_Time
It's not complicated, every language has simple code to change a local time to UTC and back again and it's built in to every computer. It's a solved problem.
Most devs who have ever had to deal with dates know to send any user-input to the server with the TZ information attached, to then always store that time in UTC and then translate that for the user, either client-side if you're sending raw data, or asking for a timezone setting and transforming it server-side (if you're sending HTML for example. Browsers, alas, do not tell the server what timezone the request is coming from, which is why all forums ask you for your tz so they can show the correct post time, relative to you).
Apart from, seemingly, game devs.
How on earth do you think the world has been operating without the basic functionality of being able to talk about an explicit, locale neutral time? To translate a TZ specific date/time to another TZ specific date/time? Banking would be buggered.