mozilla-b2g/gaia — pull request #5414 by ian-liu (2012-09-28 12:45:24+00:00)
Title: Implement Date and Time --> Time Zone

1. Add timezones.json file in Settings APP.
Reference: http://en.wikipedia.org/wiki/Tz_database
Download file: list of time zones (Based on Olson tz database)
Download link: https://gist.github.com/3349960

2. Implement set time zone feature with 4 layer layout.
L1 --> L2 --> L3 --> L4
Main Settings --> Date&Time --> Continents --> Time zones

Note:
* The system time won't change since the DateObj not reset for new time zone.
(Bug 790499 - Time API: Call JS_ClearDateCaches() to update Date object's timezone when the system timezone is reset)
* If you want to see the new time zone, please restart device.
* I know the UI is not suitable enough for user. We could refine the UI with search.
* It will need an indexedDB to maintain the date for search.