summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2008-02-11 19:55:13 +0000
committerMagnus Hagander2008-02-11 19:55:13 +0000
commitb59f3cf969d1db5150a9e87b1bc463465b2a8b6e (patch)
treea2aaba7fa63d7cfcd1a7176cc702bef3a7472a67
parent0facae07aa2345430b91411b4052b3268e00ced1 (diff)
Update timezone mapping for Windows with new timezones added
in windows servicepacks. Fix timezone mapping for "Mexico 2"
-rw-r--r--src/timezone/pgtz.c44
1 files changed, 41 insertions, 3 deletions
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index caa291cf21..e5a640e81a 100644
--- a/src/timezone/pgtz.c
+++ b/src/timezone/pgtz.c
@@ -610,7 +610,7 @@ static const struct
/*
* This list was built from the contents of the registry at
* HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
- * Zones on Windows XP Professional SP1
+ * Zones on Windows XP Professional SP2
*
* The zones have been matched to zic timezones by looking at the cities
* listed in the win32 display name (in the comment here) in most cases.
@@ -636,6 +636,10 @@ static const struct
"Asia/Baghdad"
}, /* (GMT+03:00) Baghdad */
{
+ "Armenian Standard Time", "Armenian Daylight Time",
+ "Asia/Yerevan"
+ }, /* (GMT+04:00) Yerevan */
+ {
"Atlantic Standard Time", "Atlantic Daylight Time",
"Canada/Atlantic"
}, /* (GMT-04:00) Atlantic Time (Canada) */
@@ -695,6 +699,11 @@ static const struct
"US/Central"
}, /* (GMT-06:00) Central Time (US & Canada) */
{
+ "Central Standard Time (Mexico)", "Central Daylight Time (Mexico)",
+ "America/Mexico_City"
+ }, /* (GMT-06:00) Guadalajara, Mexico City,
+ Monterrey - New */
+ {
"China Standard Time", "China Daylight Time",
"Asia/Hong_Kong"
}, /* (GMT+08:00) Beijing, Chongqing, Hong Kong,
@@ -741,6 +750,10 @@ static const struct
}, /* (GMT+02:00) Helsinki, Kyiv, Riga, Sofia,
* Tallinn, Vilnius */
{
+ "Georgian Standard Time", "Georgian Daylight Time",
+ "Asia/Tbilisi"
+ }, /* (GMT+03:00) Tbilisi */
+ {
"GMT Standard Time", "GMT Daylight Time",
"Europe/London"
}, /* (GMT) Greenwich Mean Time : Dublin,
@@ -775,6 +788,10 @@ static const struct
"Asia/Jerusalem"
}, /* (GMT+02:00) Jerusalem */
{
+ "Jordan Standard Time", "Jordan Daylight Time",
+ "Asia/Amman"
+ }, /* (GMT+02:00) Amman */
+ {
"Korea Standard Time", "Korea Daylight Time",
"Asia/Seoul"
}, /* (GMT+09:00) Seoul */
@@ -784,18 +801,31 @@ static const struct
}, /* (GMT-06:00) Guadalajara, Mexico City,
* Monterrey */
{
- "Mexico Standard Time", "Mexico Daylight Time",
- "America/La_Paz"
+ "Mexico Standard Time 2", "Mexico Daylight Time 2",
+ "America/Chihuahua"
}, /* (GMT-07:00) Chihuahua, La Paz, Mazatlan */
{
"Mid-Atlantic Standard Time", "Mid-Atlantic Daylight Time",
"Atlantic/South_Georgia"
}, /* (GMT-02:00) Mid-Atlantic */
{
+ "Middle East Standard Time", "Middle East Daylight Time",
+ "Asia/Beirut"
+ }, /* (GMT+02:00) Beirut */
+ {
+ "Montevideo Standard Time", "Montevideo Daylight Time",
+ "America/Montevideo"
+ }, /* (GMT-03:00) Montevideo */
+ {
"Mountain Standard Time", "Mountain Daylight Time",
"US/Mountain"
}, /* (GMT-07:00) Mountain Time (US & Canada) */
{
+ "Mountain Standard Time (Mexico)", "Mountain Daylight Time (Mexico)",
+ "America/Chihuahua"
+ }, /* (GMT-07:00) Chihuahua, La Paz,
+ Mazatlan - New */
+ {
"Myanmar Standard Time", "Myanmar Daylight Time",
"Asia/Rangoon"
}, /* (GMT+06:30) Rangoon */
@@ -804,6 +834,10 @@ static const struct
"Asia/Almaty"
}, /* (GMT+06:00) Almaty, Novosibirsk */
{
+ "Namibia Standard Time", "Namibia Daylight Time",
+ "Africa/Windhoek"
+ }, /* (GMT+02:00) Windhoek */
+ {
"Nepal Standard Time", "Nepal Daylight Time",
"Asia/Katmandu"
}, /* (GMT+05:45) Kathmandu */
@@ -833,6 +867,10 @@ static const struct
}, /* (GMT-08:00) Pacific Time (US & Canada);
* Tijuana */
{
+ "Pacific Standard Time (Mexico)", "Pacific Daylight Time (Mexico)",
+ "America/Tijuana"
+ }, /* (GMT-08:00) Tijuana, Baja California */
+ {
"Romance Standard Time", "Romance Daylight Time",
"Europe/Brussels"
}, /* (GMT+01:00) Brussels, Copenhagen, Madrid,