Easy Timezone Select
Categories
Component ID
2841416
Component name
Easy Timezone Select
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
294
Component created
Component changed
Component body
The Easy Timezone Select module tames the overwhelming experience of selecting a timezone in Drupal.
It does this by placing the most common options (currently US options) at the top of the list, followed by the remaining World options. Future development might make these options configurable, if there's demand (and corresponding patches for review).
Just enable this module and the following timezone fields work magically:
- Regional settings form
- User register form
- User profile form
- Date API forms with a timezone dropdown
Developers can add this cool functionality to any select element that contains timezones by adding/altering a select field like so:
$form['some_select_field']['#ez_timezone_select'] = TRUE;
Alternatives
Drupal 8
See #2847651: Improve timezones selector with optgroups for a slightly different approach which soon be part of Drupal 8 core.
