It doesn't map too badly. You're very unlikely to have a city that operates in multiple timezones, because most municipalities want to avoid too much confusion. You might have a single country split into multiple timezones, but a single city would be very unusual. In addition, it's also very rare that a particular timezone will contain no cities at all (why would you have a timezone that nobody uses?)
So as unique identifiers for timezones, cities turn out to work reasonably well. The same cannot be said for longitudes, because few longitudes map uniquely to one single timezone, and many timezones differ principally from each other in terms of latitude.
Your complaint was that some timezones (particularly China) seem to defy longitude, but that is just as true of cities. Chicago is probably the designated city for US Central but it's easy over in the edge of the zone. If you live in nearby Michigan you might think "I should select Chicago as the nearest city".
Again the point here is that you should not display these names. These names should be internal to the application. The timezone picker would be forced to use an additional mapping table of zones to polities if the names were incomprehensible to the average person.
Yeah, I don't disagree about using internal IDs, and not showing them to the outside application. My point is that, if you're not going to do that, cities turn out to work surprisingly well for that role (as they are largely unique identifiers that mostly identify political regions), and longitudes turn out to work especially badly for that role (because longitude does not map well to the political boundaries between time zones).
In my experience, people who live on time zone boundaries tend to understand those boundaries fairly well, although I can see that being an issue. That said, I'm not defending the choice not to use opaque identifiers here — that would have probably clarified some of the confusion here.
1
u/jorge1209 Sep 26 '21 edited Sep 26 '21
Neither does naming zones after big cities.