Constrain inputs for lib.timezone settings to valid tzdata names

Bug #1754364 reported by Galen Charlton
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Wishlist
Jane Sandberg

Bug Description

Inspired by bug 1752753, it would be nice if the library settings editor presented a list of valid timezone names for the user to choose from when setting the lib.timezone org unit setting.

(This would probably be part of a larger, hypothetical project to make a new Angular library settings editor be smarter and more usable.)

Evergreen master

Revision history for this message
Mike Rylander (mrylander) wrote :

Note: we have the list of available timezones in JS via moment.tz.names(), which returns an array of known, valid timezone names.

Revision history for this message
Remington Steed (rjs7) wrote :

I'm adding documentation tags, since we should at least give people a clue of the input format in the setting name or description, and the docs. (I found myself guessing at "EST", or "-5:00"...).

Maybe we could point people to Wikipedia for now:

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

tags: added: bitesize-doc documentation
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Remington Steed (rjs7) wrote :

I've opened a new bug for the documentation aspects of this:

bug 1817332

Remington Steed (rjs7)
tags: removed: bitesize-doc documentation
tags: added: orgunitsettings usability
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Noting that you can get an array of supported values in vanilla JS using Intl.supportedValuesOf('timeZone')

Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbergja)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.