summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2014-12-24 21:35:23 +0000
committerTom Lane2014-12-24 21:35:23 +0000
commit5b89473d870dc2a9fec0926c5afccf53042dbb0a (patch)
tree6a2cea5e9f1d9c3ff1c124d592a0dd9e2b0c4a33
parent3f37b6c3166b2dc1956de8b0fb046ea6e7320d52 (diff)
Add CST (China Standard Time) to our lists of timezone abbreviations.
For some reason this seems to have been missed when the lists in src/timezone/tznames/ were first constructed. We can't put it in Default because of the conflict with US CST, but we should certainly list it among the alternative entries in Asia.txt. (I checked for other oversights, but all the other abbreviations that are in current use according to the IANA files seem to be accounted for.) Noted while responding to bug #12326.
-rw-r--r--src/timezone/tznames/America.txt2
-rw-r--r--src/timezone/tznames/Asia.txt9
-rw-r--r--src/timezone/tznames/Australia.txt1
-rw-r--r--src/timezone/tznames/Default1
4 files changed, 13 insertions, 0 deletions
diff --git a/src/timezone/tznames/America.txt b/src/timezone/tznames/America.txt
index 9e6273207c..1bb636741b 100644
--- a/src/timezone/tznames/America.txt
+++ b/src/timezone/tznames/America.txt
@@ -137,11 +137,13 @@ COT -18000 # Columbia Time (not in zic)
# Other timezones:
# - CST: Central Standard Time (Australia)
# - CST: Central Standard Time (America)
+# - CST: China Standard Time (Asia)
CST -18000 # Cuba Central Standard Time (America)
# (America/Havana)
# CONFLICT! CST is not unique
# Other timezones:
# - CST: Central Standard Time (Australia)
+# - CST: China Standard Time (Asia)
# - CST: Cuba Central Standard Time (America)
CST -21600 # Central Standard Time (America)
# (America/Cancun)
diff --git a/src/timezone/tznames/Asia.txt b/src/timezone/tznames/Asia.txt
index bb28646429..dcca78af7b 100644
--- a/src/timezone/tznames/Asia.txt
+++ b/src/timezone/tznames/Asia.txt
@@ -59,6 +59,15 @@ CHOST 36000 D # Choibalsan Summer Time (obsolete)
CHOT Asia/Choibalsan # Choibalsan Time
# (Asia/Choibalsan)
CIT 28800 # Central Indonesia Time (obsolete, WITA is now preferred)
+# CONFLICT! CST is not unique
+# Other timezones:
+# - CST: Central Standard Time (Australia)
+# - CST: Central Standard Time (America)
+# - CST: Cuba Central Standard Time (America)
+CST 28800 # China Standard Time
+ # (Asia/Macau)
+ # (Asia/Shanghai)
+ # (Asia/Taipei)
EEST 10800 D # East-Egypt Summer Time
# Eastern Europe Summer Time
# (Africa/Cairo)
diff --git a/src/timezone/tznames/Australia.txt b/src/timezone/tznames/Australia.txt
index 92c296840f..8f1c1379c1 100644
--- a/src/timezone/tznames/Australia.txt
+++ b/src/timezone/tznames/Australia.txt
@@ -41,6 +41,7 @@ CAST 34200 # Central Australia Standard Time (not in zic)
# CONFLICT! CST is not unique
# Other timezones:
# - CST: Central Standard Time (America)
+# - CST: China Standard Time (Asia)
# - CST: Cuba Central Standard Time (America)
CST 34200 # Central Standard Time (not in zic)
CWST 31500 # Central Western Standard Time (not in zic)
diff --git a/src/timezone/tznames/Default b/src/timezone/tznames/Default
index fca7ff8daa..7a58e5900e 100644
--- a/src/timezone/tznames/Default
+++ b/src/timezone/tznames/Default
@@ -105,6 +105,7 @@ CLT -14400 # Chile Time
# CONFLICT! CST is not unique
# Other timezones:
# - CST: Central Standard Time (Australia)
+# - CST: China Standard Time (Asia)
# - CST: Cuba Central Standard Time (America)
CST -21600 # Central Standard Time (America)
# (America/Cancun)