Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
953c2c9b
Commit
953c2c9b
authored
Feb 11, 2008
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update timezone mapping for Windows with new timezones added
in windows servicepacks. Fix timezone mapping for "Mexico 2"
parent
c931c071
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
4 deletions
+42
-4
src/timezone/pgtz.c
src/timezone/pgtz.c
+42
-4
No files found.
src/timezone/pgtz.c
View file @
953c2c9b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.5
7 2008/01/01 19:46:01 momjian
Exp $
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.5
8 2008/02/11 19:55:11 mha
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -610,7 +610,7 @@ static const struct
...
@@ -610,7 +610,7 @@ static const struct
/*
/*
* This list was built from the contents of the registry at
* This list was built from the contents of the registry at
* HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
* HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
* Zones on Windows XP Professional SP
1
* Zones on Windows XP Professional SP
2
*
*
* The zones have been matched to zic timezones by looking at the cities
* 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.
* listed in the win32 display name (in the comment here) in most cases.
...
@@ -635,6 +635,10 @@ static const struct
...
@@ -635,6 +635,10 @@ static const struct
"Arabic Standard Time"
,
"Arabic Daylight Time"
,
"Arabic Standard Time"
,
"Arabic Daylight Time"
,
"Asia/Baghdad"
"Asia/Baghdad"
},
/* (GMT+03:00) Baghdad */
},
/* (GMT+03:00) Baghdad */
{
"Armenian Standard Time"
,
"Armenian Daylight Time"
,
"Asia/Yerevan"
},
/* (GMT+04:00) Yerevan */
{
{
"Atlantic Standard Time"
,
"Atlantic Daylight Time"
,
"Atlantic Standard Time"
,
"Atlantic Daylight Time"
,
"Canada/Atlantic"
"Canada/Atlantic"
...
@@ -694,6 +698,11 @@ static const struct
...
@@ -694,6 +698,11 @@ static const struct
"Central Standard Time"
,
"Central Daylight Time"
,
"Central Standard Time"
,
"Central Daylight Time"
,
"US/Central"
"US/Central"
},
/* (GMT-06:00) Central Time (US & Canada) */
},
/* (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"
,
"China Standard Time"
,
"China Daylight Time"
,
"Asia/Hong_Kong"
"Asia/Hong_Kong"
...
@@ -740,6 +749,10 @@ static const struct
...
@@ -740,6 +749,10 @@ static const struct
"Europe/Helsinki"
"Europe/Helsinki"
},
/* (GMT+02:00) Helsinki, Kyiv, Riga, Sofia,
},
/* (GMT+02:00) Helsinki, Kyiv, Riga, Sofia,
* Tallinn, Vilnius */
* Tallinn, Vilnius */
{
"Georgian Standard Time"
,
"Georgian Daylight Time"
,
"Asia/Tbilisi"
},
/* (GMT+03:00) Tbilisi */
{
{
"GMT Standard Time"
,
"GMT Daylight Time"
,
"GMT Standard Time"
,
"GMT Daylight Time"
,
"Europe/London"
"Europe/London"
...
@@ -774,6 +787,10 @@ static const struct
...
@@ -774,6 +787,10 @@ static const struct
"Jerusalem Standard Time"
,
"Jerusalem Daylight Time"
,
"Jerusalem Standard Time"
,
"Jerusalem Daylight Time"
,
"Asia/Jerusalem"
"Asia/Jerusalem"
},
/* (GMT+02:00) Jerusalem */
},
/* (GMT+02:00) Jerusalem */
{
"Jordan Standard Time"
,
"Jordan Daylight Time"
,
"Asia/Amman"
},
/* (GMT+02:00) Amman */
{
{
"Korea Standard Time"
,
"Korea Daylight Time"
,
"Korea Standard Time"
,
"Korea Daylight Time"
,
"Asia/Seoul"
"Asia/Seoul"
...
@@ -784,17 +801,30 @@ static const struct
...
@@ -784,17 +801,30 @@ static const struct
},
/* (GMT-06:00) Guadalajara, Mexico City,
},
/* (GMT-06:00) Guadalajara, Mexico City,
* Monterrey */
* Monterrey */
{
{
"Mexico Standard Time
"
,
"Mexico Daylight Time
"
,
"Mexico Standard Time
2"
,
"Mexico Daylight Time 2
"
,
"America/
La_Paz
"
"America/
Chihuahua
"
},
/* (GMT-07:00) Chihuahua, La Paz, Mazatlan */
},
/* (GMT-07:00) Chihuahua, La Paz, Mazatlan */
{
{
"Mid-Atlantic Standard Time"
,
"Mid-Atlantic Daylight Time"
,
"Mid-Atlantic Standard Time"
,
"Mid-Atlantic Daylight Time"
,
"Atlantic/South_Georgia"
"Atlantic/South_Georgia"
},
/* (GMT-02:00) Mid-Atlantic */
},
/* (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"
,
"Mountain Standard Time"
,
"Mountain Daylight Time"
,
"US/Mountain"
"US/Mountain"
},
/* (GMT-07:00) Mountain Time (US & Canada) */
},
/* (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"
,
"Myanmar Standard Time"
,
"Myanmar Daylight Time"
,
"Asia/Rangoon"
"Asia/Rangoon"
...
@@ -803,6 +833,10 @@ static const struct
...
@@ -803,6 +833,10 @@ static const struct
"N. Central Asia Standard Time"
,
"N. Central Asia Daylight Time"
,
"N. Central Asia Standard Time"
,
"N. Central Asia Daylight Time"
,
"Asia/Almaty"
"Asia/Almaty"
},
/* (GMT+06:00) Almaty, Novosibirsk */
},
/* (GMT+06:00) Almaty, Novosibirsk */
{
"Namibia Standard Time"
,
"Namibia Daylight Time"
,
"Africa/Windhoek"
},
/* (GMT+02:00) Windhoek */
{
{
"Nepal Standard Time"
,
"Nepal Daylight Time"
,
"Nepal Standard Time"
,
"Nepal Daylight Time"
,
"Asia/Katmandu"
"Asia/Katmandu"
...
@@ -832,6 +866,10 @@ static const struct
...
@@ -832,6 +866,10 @@ static const struct
"US/Pacific"
"US/Pacific"
},
/* (GMT-08:00) Pacific Time (US & Canada);
},
/* (GMT-08:00) Pacific Time (US & Canada);
* Tijuana */
* Tijuana */
{
"Pacific Standard Time (Mexico)"
,
"Pacific Daylight Time (Mexico)"
,
"America/Tijuana"
},
/* (GMT-08:00) Tijuana, Baja California */
{
{
"Romance Standard Time"
,
"Romance Daylight Time"
,
"Romance Standard Time"
,
"Romance Daylight Time"
,
"Europe/Brussels"
"Europe/Brussels"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment