Commit 2c220531 authored by jshin's avatar jshin Committed by Commit bot

Update the timezone list to show in the UI

On Oct 26, 2014, Russia will switch from 9 timezones to 11 timezones with
most of the current zones going back by an hour from the current zone.
(e.g. Europe/Moscow will be UTC+0300 instead of UTC+0400).

Add new Russian time zones and shuffle the timezone order in the tz
selection UI to make them roughly in the order of their tz offsets
when the change gets effective on Oct 26, 2014. In the meantime, some
zones will be out-of-place.

This ordering can't be perfect beause of DST. To address that issue,
this CL will be followed by a CL to sort them dynamically instead of
using the hardcoded order.

BUG=404445
TEST=Go to settings - advanced - timezone setting and look for
Asia/Kamchatka.

Review URL: https://codereview.chromium.org/548683002

Cr-Commit-Position: refs/heads/master@{#294458}
parent d3a8ce48
......@@ -110,6 +110,7 @@ static const char* kTimeZones[] = {
"Africa/Harare",
"Africa/Maputo",
"Africa/Johannesburg",
"Europe/Kaliningrad",
"Europe/Athens",
"Europe/Bucharest",
"Europe/Chisinau",
......@@ -128,8 +129,9 @@ static const char* kTimeZones[] = {
"Asia/Riyadh",
"Asia/Kuwait",
"Europe/Minsk",
"Asia/Tehran",
"Europe/Moscow",
"Asia/Tehran",
"Europe/Samara",
"Asia/Dubai",
"Asia/Tbilisi",
"Indian/Mauritius",
......@@ -139,17 +141,19 @@ static const char* kTimeZones[] = {
"Asia/Karachi",
"Asia/Ashgabat",
"Asia/Oral",
"Asia/Yekaterinburg",
"Asia/Calcutta",
"Asia/Colombo",
"Asia/Katmandu",
"Asia/Yekaterinburg",
"Asia/Omsk",
"Asia/Almaty",
"Asia/Dhaka",
"Asia/Novosibirsk",
"Asia/Rangoon",
"Asia/Bangkok",
"Asia/Jakarta",
"Asia/Omsk",
"Asia/Novosibirsk",
"Asia/Krasnoyarsk",
"Asia/Novokuznetsk",
"Asia/Ho_Chi_Minh",
"Asia/Phnom_Penh",
"Asia/Vientiane",
......@@ -160,24 +164,25 @@ static const char* kTimeZones[] = {
"Asia/Manila",
"Asia/Taipei",
"Asia/Makassar",
"Asia/Krasnoyarsk",
"Asia/Irkutsk",
"Asia/Yakutsk",
"Australia/Perth",
"Australia/Eucla",
"Asia/Irkutsk",
"Asia/Seoul",
"Asia/Tokyo",
"Asia/Jayapura",
"Asia/Sakhalin",
"Asia/Vladivostok",
"Asia/Magadan",
"Australia/Darwin",
"Australia/Adelaide",
"Asia/Yakutsk",
"Pacific/Guam",
"Australia/Brisbane",
"Australia/Hobart",
"Australia/Sydney",
"Asia/Anadyr",
"Pacific/Port_Moresby",
"Asia/Vladivostok",
"Asia/Sakhalin",
"Asia/Magadan",
"Asia/Kamchatka",
"Pacific/Fiji",
"Pacific/Majuro",
"Pacific/Auckland",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment