2 ms·
The OP author seems to be conflating multiple things under the "time zone" term too. Localities (countries, cities, areas) have official standard time that, to
by necovek 6y ago
The OP author seems to be conflating multiple things under the "time zone" term too.
Localities (countries, cities, areas) have official standard time that, to interpret, depends on the point in history (calendar adjustments, DST, leap seconds...). Finding official standard time for any given person anywhere in the world and at any point in history is a hard problem. But it seems they are not trying to solve that general problem.
Time zones, specifically, usually refer to a relatively straightforward concept: "zones" where time matches, usually given using a time offset (most commonly hourly) from the UTC+0000 (closely related to GMT). "Eastern Standard Time" is a localised (to the USA) name for a time zone that would sound totally foreign to anyone not regularly setting up meetings with Americans. Most people would probably think "what time is in the USA right now?" is a non-ambiguous question.
But that ambiguity is exactly what OP wants to solve. It's more of a NLP problem where the context is simply missing ("what's Colorado Springs time?" is a perfectly valid question to ask, just like time zone monikers would be translated everywhere English is not a native language: majority of the world). Even if there were any better standards than IANA, they would not help with implementing a better algorithm, since there is no real need for everyone to learn any official timezone names, and they'd still refer to them using whatever local name there is.
It's important to remember what the goal of "time zones" is. It is to simplify time keeping and cross-referencing between people who come in regular contact. The only true time is astronomical time, but if a person 20mi/30km away was up to 1 minute off (depending on the direction), it would make any coordination very hard. Sure, we're seeing changes in how often people come into regular contact across timezones, but I don't think we are at a tipping point where everyone needs to adjust just yet.
Developing tools for those who do is sure welcome, so I invite the author to get their terminology (and goal) a bit clarified :)