[tz] [PATCH] Add Asia/Beijing

James M Leddy james.leddy at canonical.com
Mon Aug 13 19:49:23 UTC 2012


This adds Asia/Beijing to the zone.tab file, as an alias to Shanghai
timezone. This is necessary because it's confusing to Chinese users,
who use the name "Beijing Time", and sometimes "Chinese Standard
Time", but never "Shanghai Time".

Signed-off-by: James M Leddy <james.leddy at canonical.com>
---
 asia     |    2 ++
 zone.tab |    1 +
 2 files changed, 3 insertions(+)

diff --git a/asia b/asia
index a02e109..ae3cd55 100644
--- a/asia
+++ b/asia
@@ -387,6 +387,8 @@ Zone	Asia/Harbin	8:26:44	-	LMT	1928 # or Haerbin
 Zone	Asia/Shanghai	8:05:52	-	LMT	1928
 			8:00	Shang	C%sT	1949
 			8:00	PRC	C%sT
+# Native Chinese users prefer this be called Beijing time
+Link	Asia/Shanghai	Asia/Beijing
 # Long-shu Time (probably due to Long and Shu being two names of that area)
 # Guangxi, Guizhou, Hainan, Ningxia, Sichuan, Shaanxi, and Yunnan;
 # most of Gansu; west Inner Mongolia; west Qinghai; and the Guangdong
diff --git a/zone.tab b/zone.tab
index 6bda826..87ada17 100644
--- a/zone.tab
+++ b/zone.tab
@@ -146,6 +146,7 @@ CK	-2114-15946	Pacific/Rarotonga
 CL	-3327-07040	America/Santiago	most locations
 CL	-2709-10926	Pacific/Easter	Easter Island & Sala y Gomez
 CM	+0403+00942	Africa/Douala
+CN	+3954+11625	Asia/Beijing	alias to Asia/Shanghai
 CN	+3114+12128	Asia/Shanghai	east China - Beijing, Guangdong, Shanghai, etc.
 CN	+4545+12641	Asia/Harbin	Heilongjiang (except Mohe), Jilin
 CN	+2934+10635	Asia/Chongqing	central China - Sichuan, Yunnan, Guangxi, Shaanxi, Guizhou, etc.
-- 
1.7.9.5




More information about the tz mailing list