city_timezones
No security coverage
The City Timezones module alters the time zone section in AccountForm and prepends a form element filled with a list of world cities. A user selects any city from the element and the appropriate IANA time zone is selected. This helps users identify their correct IANA time zone which can be unfamiliar or distant.
The city reference list packaged by the module is available at GeoNames. It is currently using the cities500.txt list to generate the list of city data.
Additional Requirements
This project uses the Chosen module as a dependency so that the UI allows simple text filtering of options.
Features
Feature development ideas. Pull requests and patches are welcome.
- Settings form and configuration.
- Setting for filtering countries available in the city list.
- Setting to choose different lists of cities from GeoNames. It may be preferable for site admins to offer a smaller list like cities over >15000 or a larger list like cities over >1000.
- Consider an autocomplete element to eliminate the dependency on Chosen to provide a filtered list.
- Consider rendering the options server side rather than a client fetch.
- Improving information display from different locales.