[tz] Ecuador time zone list

Đoàn Trần Công Danh congdanhqx at gmail.com
Mon Sep 19 15:52:53 UTC 2022


On 2022-09-19 22:21:58+0700, Đoàn Trần Công Danh <congdanhqx at gmail.com> wrote:
> On 2022-09-19 16:21:25+0200, Steffen Nurpmeso <steffen at sdaoden.eu> wrote:
> > Đoàn Trần Công Danh wrote in
> >  |On 2022-09-19 14:10:14+0100, David via tz <tz at iana.org> wrote:
> >  ...
> >  |Yes, it's odd, but at least it have some connection to Ecuador.
> >  |Until you see that Laotian, Cambodian (and to a degree, Northern
> >  |Vietnamese) users need to set their timezone to Asia/Bangkok,
> >  |which is a city in an unrelated country.
> > 
> > You can use Asia/Ho_Chi_Minh, /Saigon, /Phnom_Penh, /Vientiane.
> 
> Yes, I know about /Ho_Chi_Minh and /Saigon (it's my correct timezone,
> since I live in the Southern part of Vietnam),
> since Saigon is distinct from Bangkok (until 1976).
> 
> > It is found by tzselect(8) if you use the undocumented "-t zone"
> > option:
> 
> Anyway, thanks for "-t zone", it works for Vientiane and Phnom_Penh,
> however, it doesn't work for Hanoi (which is used for North Vietnam).
> Hanoi has different timezone history from Saigon until 1976, but Hanoi
> has same history with Bangkok from 1970.
> 
> Not sure if I built tzutils incorrectly. But,
> 
> - "tzselect" w/o any options will choose Asia/Bangkok for
>   North Vietnam and Asia/Ho_Chi_Minh for South Vietnam,
>   so North Vietnam will have incorrect historical timezone pre-1970,
>   which is not tzdb's concern
> - "tzselect -t zone" will choose Asia/Ho_Chi_Minh for the whole
>   Vietnam, which has incorrect timezone history for North Vietnam
>   from 1954 until 1976

I figured out, in order to have correct timezone for North Vietnam
with "tzselect -t zone", we need to apply this patch:

From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx at gmail.com>
Date: Mon, 19 Sep 2022 22:38:05 +0700
Subject: [PATCH] =?UTF-8?q?Add=20link=20for=C2=A0North=20Vietnam=20timezon?=
 =?UTF-8?q?e?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 asia     | 1 +
 zone.tab | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/asia b/asia
index def9b204..a5b00bc4 100644
--- a/asia
+++ b/asia
@@ -3833,6 +3833,7 @@ Zone	Asia/Dushanbe	4:35:12 -	LMT	1924 May  2
 Zone	Asia/Bangkok	6:42:04	-	LMT	1880
 			6:42:04	-	BMT	1920 Apr # Bangkok Mean Time
 			7:00	-	+07
+Link Asia/Bangkok Asia/Hanoi		# North Vietnam
 Link Asia/Bangkok Asia/Phnom_Penh	# Cambodia
 Link Asia/Bangkok Asia/Vientiane	# Laos
 Link Asia/Bangkok Indian/Christmas
diff --git a/zone.tab b/zone.tab
index 1f73ddaf..62cb1069 100644
--- a/zone.tab
+++ b/zone.tab
@@ -443,7 +443,8 @@ VC	+1309-06114	America/St_Vincent
 VE	+1030-06656	America/Caracas
 VG	+1827-06437	America/Tortola
 VI	+1821-06456	America/St_Thomas
-VN	+1045+10640	Asia/Ho_Chi_Minh
+VN	+2101+10551	Asia/Hanoi	Vietnam (north)
+VN	+1045+10640	Asia/Ho_Chi_Minh	Vietnam (south)
 VU	-1740+16825	Pacific/Efate
 WF	-1318-17610	Pacific/Wallis
 WS	-1350-17144	Pacific/Apia
-- 
2.38.0.rc0




More information about the tz mailing list