Time-Zone Picker

Time-zone pickers allow users to change the local time on a UI.

Component checklist

Status

The status of the component

Ready for use!

Figma component

A link to the Figma library where the component lives.

Repository

A link to the repo where the component lives.

Time-zone pickers are common in the user settings of an application or website, and in applications that support real-time data and reporting.

Best Practices


 

  • Where possible, identify the userโ€™s time zone based on their location and allow them to change it if they need to.
  • Organize time zones alphabetically by city and make sure to display the country and the offset as well.
  • Let the user search in the time-zone dropdown list.
  • Allow the user to search by city, country, state (where applicable) and offset.
  • When defining more than one default time zone, let the user know the difference between the default zones.

 

Dos and Don'ts


 

Facilitate readability

To separate cities, states, and countries, use a comma instead of a slash, and add a space before the offset to make the options easier to perceive.

Do
Dropdown field with multiple options, province and country separated by commas.

Separate location items with commas.

Don't
Dropdown field with multiple options.

Don't use slashes without any spacing to separate location items.

 

 

Location first

Users typically think about the time in a city or region instead of a particular offset.

Do
Dropdown field with multiple options.

Start the option with the location and place the offset to the end.

Don't
Dropdown field with multiple options.

Don't place the offset to the beginning of the option: this can slow down the user when looking for the correct time zone.

 

 

Inform the user about default zones

When defining default zones, it is a good practice to let the user know what each default means.

Do
Dropdown input field with subsections.

Inform the user about what the different default zones mean by adding a subtext to the label.

Don't
Dropdown input field with subsections.

Donโ€™t define default zones without explaining what they represent.