![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
More cities and GMT-style options in time zone selection
Title:
More cities and GMT-style options in time zone selection
Area:
posting
Summary:
The drop-down options right now to set your time zone offer an extremely limited number of Continent/City options to choose from. This should be increased and diversified to accomodate users from all parts of the world.
Description:
So in changing my time zone to get GMT + 5:30, I discovered that the only option I had was to select "Asia/Kolkata". No mention of Mumbai or Delhi or Bangalore or any of the other big cities, and worse, no GMT option.
This requires people not living in the US to have to look up which of the small and randomly chosen list of cities their location matches in the time zone department.
So I would suggest that the system either be changed to Greenwich Mean Time (GMT), or else if the present Continent/City one remains an option, make it Continent/Country for all nations that have one time zone. Or if Continent/City must be kept, add to the number of cities represented.
This suggestion:
Should be implemented as-is.
52 (81.2%)
Should be implemented with changes. (please comment)
8 (12.5%)
Shouldn't be implemented.
0 (0.0%)
(I have no opinion)
4 (6.2%)
(Other: please comment)
0 (0.0%)
no subject
+1 to this. Actually +1 million.
no subject
This.
no subject
OTOH, I still think the current list is incredibly unwieldy already, so I'd love to see it split into multiple interdependent dropdown menus.* I picture two dropdowns: first you pick your continent, then your country. A third box could then appear to pick your timezone if your country has multiple timezones (and for the sake of inclusion, I'd prefer box #3 to be timezones rather than cities).
(*
One other complicating factor is Daylight Saving Time - sometimes, an entire country practices it (or doesn't practice it), and has maintained that practice for years; other times, countries are still experimenting with it, or have areas that *legally* do something different than the rest of the country. Arizona, for example, lies in the Mountain time zone, but does not follow DST. However, the Navajo Nation that lies within Arizona *does* follow DST - but the Hopi Nation, which lies within the Navajo Nation, does not. Dropdown 1: "North America;" Dropdown 2: "United States." Dropdown 3: what goes here? Arizona as a whole stays at UTC -7 all year round; many DST-observing parts of the Pacific timezone migrate here for the summer, swapping out the DST-observing parts of the Mountain timezone ...
Per Wikipedia, there are also plenty of unofficial time observance practices as well. I think it's going to be a balance of trying to keep things user-friendly (as a technical interface) vs. being fully inclusive of all persons and timezone practices, but I also suspect this will go to a programmer more advanced than me. ;)
no subject
no subject
Really? There's so much fuss within the UK about whther we should fix to double summer time, and the effect it'd have on Scotland, it's always confused me why we can't have different choices, sot hat's useful.
PErsonally, I don't see the point of including the country at all, just have a timzone picker. Having to list both Europe/UK and Europe/Portugal plus Africa/Sierra Leone seems daft to me, just list GMT.
no subject
And some people don't know GMT offsets in their head at all - in fact, I'd say the majority of people I know here in the US don't. If they don't deal in computers or technical stuff, and don't know anyone in that time zone, the odds are they don't know the GMT offset.
no subject
Hmm, what about using time zone names? I, who's only been to the US a few times, know about Pacific Standard and Mountain Time, and for many that'd be clearer than a list of cities that may or may not be useful.
no subject
no subject
no subject
I'm a big fan of just putting in the GMT +/- numbers, but that can be difficult for keyboard or screen reader navigation of a drop-down list. Sure, you can arrow key down, but is everything in the list begins with "GMT", then you can't just take the first letter of the thing you want and skip directly there.
Multiple drop-down lists are great, but you need to have a non-JavaScript option both for accessibility and for people who don't use JavaScript. Maybe if you don't use JavaScript, then you just pre-populate the entire list with everything? And you need to make sure that the JavaScript does use ARIA to deal with the updating live regions of the newly populating secondary lists.
no subject
Do we know of any reliable external services that keep close track of various times across the world, where we can just import something from them and keep it updated?
For UI, what I would do is:
Pick current local time. From the current local time, the system then looks up all of the possible timezones in the world that currently have that time, and displays them to pick from. For shiny, it might display a map with major cities for each zone (text-only would name the region and list that includes these major cities). The plain GMT offset (don't pick a region, leave my time at GMT +/- whatever until I change it) would also be an option.
no subject
Additional idea, for even more shiny if the user supports JavaScript, either -- I'm not sure what is better:
* Interrogate all the timezones that currently match the users time for the DST rules ( or failing that, get the times for midnight on the first day of the next 12 months -- hoping that hits a DST transition ), and when presenting users the options, pass that info ( UTC time and matching local time ) along and some JS magic in the browser would create dates from those UTC times and make sure they match what they should be -- disqualifying any that don't.
* Grab the local and UTC time for the first day at midnight local time of the next 12 months ( does DST ever last less then a month anywhere? *g* ), and send that along and let the server disqualify things.
no subject
I know most people have no clue about their GMT offset, especially as it changes back and forth during DST. So there have to be countries and timezone subunits, but not every city in the world. Sometimes it's silly, PST represented by Vancouver BC and Acapulco, Mexico, but missing the larger cities of LA, SF Bay Area, and Seattle.
Dropdown lists are not the only way, either. Maybe get their ip address and match that to the time, but assume it may be wrong, so set the defaults and let them override.
no subject
I must admit I'm leaning towards leaving the list the way it is - it's a widely used standard, and where would you stop adding other cities? The list's pretty long as it is. I wouldn't mind having a second option to set the GMT/UTC offset instead, though, for those who prefer it, in which case, for simplicity, no automatic adjustment would be made for daylight saving.
no subject
no subject
no subject
Maybe just have timezones within the drop down, but have a handy help link to help people look it up if they're confused?
no subject
no subject
I don't think that expanding the list is a good idea, because zoneinfo is an operating system layer thing, and for maintainability, you really don't want to go adding your own list. It gets very messy doing that because DST start-end times are attached to that zone list.
I do think that:
The current zone offset should be added a prefix to the list entries (and the entries sorted by that zone offset, and any zones currently having DST should have a postfix indicator of that as well)
Either:
Entries should be added for fixed-from-GMT offset at 30 minute intervals (and these should not have DST ever)
Or there should be support for simply entering your own GMT offset, and that should also not have DST ever.
If you need to do DST, then you need to know specify what actual zone you're in, because the zoneinfo data keeps track of the various changes that can happen to DST start and end times. Either that or we wind up supporting entry of DST start-end... which is just a recipe for nightmares and badness. Zoneinfo keeps that data already... and for good reason, it should not be reimplemented.
no subject
I don't want to see a ginormous list of every possible city/country ever; I don't want to see a separately-maintained list; I don't want to have to do my own GMT and time zone calculations when there's a perfectly good list; but I can see where the ability to specify a GMT offset could be useful.
And if there's a site or sites on the web that let you search by an address or a city name or whatever and spit out the time zone you want (preferably the zoneinfo one if that's what we're using), a helpful link to that might be, well, helpful.
no subject
I'm going to be setting this suggestion's status to "deferred", which means "I'll come back to it later to see if things have changed". The reason I'm not migrating it into Bugzilla is that -- as noted in some of the earlier comments -- the list we use isn't manually compiled; we use one of the standard Unix utilities for calculating timezones, etc. Because of that, any changes to the timezone list would require us to essentially create an entirely new timezone management system from scratch (even if it's just to add more cities, as this suggestion proposes), with all the headaches of managing and updating that system as times and timezones change around the world.
So, this suggestion is not rejected, precisely, but since timezone management is so not our core strength, and maintaining a system like this would take a lot of resources that we don't necessarily have to spare, I'm calling it deferred until/unless we can find a package out there with better city->timezone data. If we can find a GPL-compatible package that has better timezone management, and better city/country/timezone data, I would love to integrate it. I will keep my eyes open for one.