Interactive time-zone picker
When selecting a timezone you have to choose from a list of 422 items. Quickly finding an entry in this list can be difficult as you have to look through options with the same region and typing city names does not work.
Proposed resolution
Create an interactive map time-zone picker, on clicking a location, the time-zone gets highlighted and the value gets filled in the Time-zone field.
User interface changes
An interactive map will be added, on clicking a location, the time-zone gets highlighted and the value gets filled in the Time-zone field.
1. I like the Ubuntu 14.04 time-zone setter. The location typing field loads beautifully and accurately
2. The map click also works great. Refer to the attached screen-shot
Also found the Jquery Timezone picker - http://timezonepicker.com/
Also found relevant drupal.org projects:
https://www.drupal.org/project/timezone_picker
https://www.drupal.org/project/tzfield
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2017-02-16 11:35:35.png | 174.26 KB | prabhu9484 | |
| regions_grouped_drupal_before_patch.png | 42.93 KB | prabhu9484 |
Comments
Comment #2
xjmThis sounds like an excellent usability feature to add. Thanks @prabhu9484 for posting this!
(Cleaning up the tags a bit).
Comment #3
mpdonadioBig +1 to this in spirit, but am not totally keen on the map thing. I worry about accessibility and mobile usability with that.
My preference would be to keep the existing select list as-is for non-JS users. Then, we can come up with a JS solution that splits this into a group selector (the list from http://php.net/manual/en/timezones.php), and then AJAXs in the list from that group (eg, pick Africa, then the list from http://php.net/manual/en/timezones.africa.php) appears as a new select. Almost similar to how single-item config export works.
As a side note, I think a lot of UX issues with big selects could be solved by using Chosen in core, but not going to fight that here. Combining the progressive select thing w/ Chosen would be sweet (it it amazing with config export, esp views).
But again, +1 to the idea in general. With the additional TZ work that we are doing, improved UX will be a huge win.
Comment #4
rachel_norfolkNot sure what you mean?
Can you add the issues as related?Edit - oops - now I read the IS again I think you mean in contrib, right?
Comment #5
mpdonadio#4, #2632040: [PP-1] Add ability to select a timezone for datetime field is probably the most relevant core issue to this. Will dig for some more; there may also be a formatter related issue.
Comment #9
nvexler commentedMy favourite TZ map picker project is https://github.com/kevalbhatt/timezone-picker . Something worth checking out.