[tz] Bug Moncton 1973? Where can I find old tzdata releases?

Brian Inglis Brian.Inglis at SystematicSw.ab.ca
Fri Jul 5 20:42:29 UTC 2019


On 2019-07-05 08:18, Chris Walton wrote:
> On July 5, 2019 09:12 AM, Alois Treindl wrote: 
>> https://data.iana.org/time-zones/ seems to contain only tzdata releases
>> from 2016 upwards.
>> I need to look into pre-2005 ones. Where can I find them?
>> The reason is that I am checking New Brunswick, Canada DST in 1973.
>> The zone America/Moncton was introduced in 2007, to be able to represent
>> an unusual clock time of 0:01 for DST onset.
>> America/Moncton does not list DST for 1973.
>> That is the only year between 1945 and 2020 that NB would not have DST.
>> Nearby zones like Halifax or St_Johns have 1973 DST, just like  the rest
>> of Canada?
>> Is there a bug in America/Moncton ?
>> Shanks has DST in 1973 for New Brunswick.
> According to the book “The Great Daylight Saving Time Controversy” by Chris 
> Pearce  (https://books.google.ca/books?isbn=1925516962), New Brunswick
> skipped daylight saving in 1973 after the province was hit by major
> flooding.
$ zdump -Vc1972,1975 America/Moncton | awk -f zdump_trim.awk
America/Moncton 1972 Apr 30 Sun 05:59:59 UT = 01:59:59 AST isdst=0 gmtoff=-14400
America/Moncton 1972 Apr 30 Sun 06:00:00 UT = 03:00:00 ADT isdst=1 gmtoff=-10800
America/Moncton 1972 Oct 29 Sun 04:59:59 UT = 01:59:59 ADT isdst=1 gmtoff=-10800
America/Moncton 1972 Oct 29 Sun 05:00:00 UT = 01:00:00 AST isdst=0 gmtoff=-14400
America/Moncton 1974 Apr 28 Sun 05:59:59 UT = 01:59:59 AST isdst=0 gmtoff=-14400
America/Moncton 1974 Apr 28 Sun 06:00:00 UT = 03:00:00 ADT isdst=1 gmtoff=-10800
America/Moncton 1974 Oct 27 Sun 04:59:59 UT = 01:59:59 ADT isdst=1 gmtoff=-10800
America/Moncton 1974 Oct 27 Sun 05:00:00 UT = 01:00:00 AST isdst=0 gmtoff=-14400

I attached cut down archive diffs with relevant changes to Moncton, which agree
with all of the above.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
-------------- next part --------------
diff -BENZbiwpsu tzdata2005r/northamerica tzdata2006a/northamerica
--- tzdata2005r/northamerica	2005-12-27 07:26:54.000000000 -0700
+++ tzdata2006a/northamerica	2006-01-30 06:59:12.000000000 -0700
+# for now assume that this will happen, but they'll still switch at 00:01.
+
+# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
+Rule	Moncton	1933	1935	-	Jun	Sun>=8	1:00	1:00	D
+Rule	Moncton	1933	1935	-	Sep	Sun>=8	1:00	0	S
+Rule	Moncton	1936	1938	-	Jun	Sun>=1	1:00	1:00	D
+Rule	Moncton	1936	1938	-	Sep	Sun>=1	1:00	0	S
+Rule	Moncton	1939	only	-	May	27	1:00	1:00	D
+Rule	Moncton	1939	1941	-	Sep	Sat>=21	1:00	0	S
+Rule	Moncton	1940	only	-	May	19	1:00	1:00	D
+Rule	Moncton	1941	only	-	May	 4	1:00	1:00	D
+Rule	Moncton	1946	1972	-	Apr	lastSun	2:00	1:00	D
+Rule	Moncton	1946	1956	-	Sep	lastSun	2:00	0	S
+Rule	Moncton	1956	1972	-	Oct	lastSun	2:00	0	S
+Rule	Moncton	1993	2006	-	Apr	Sun>=1	0:01	1:00	D
+Rule	Moncton	1993	2006	-	Oct	lastSun	0:01	0	S
+Rule	Moncton	2007	max	-	Mar	Sun>=8	0:01	1:00	D
+Rule	Moncton	2007	max	-	Nov	Sun>=1	0:01	0	S
+# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
+Zone America/Moncton	-4:19:08 -	LMT	1883 Dec  9
+			-5:00	-	EST	1902 Jun 15
+			-4:00	Canada	A%sT	1933
+			-4:00	Moncton	A%sT	1942
+			-4:00	Canada	A%sT	1946
+			-4:00	Moncton	A%sT	1973
+			-4:00	Canada	A%sT	1993
+			-4:00	Moncton	A%sT
diff -BENZbiwpsu tzdata2005r/zone.tab tzdata2006a/zone.tab
--- tzdata2005r/zone.tab	2005-12-22 07:31:16.000000000 -0700
+++ tzdata2006a/zone.tab	2006-01-30 06:59:12.000000000 -0700
-# @(#)zone.tab	1.32
+# @(#)zone.tab	1.33
-CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (most places), NB, W Labrador, E Quebec & PEI
+CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (most places), W Labrador, E Quebec & PEI
+CA	+4606-06447	America/Moncton	Atlantic Time - New Brunswick
diff -BENZbiwpsu tzdata2006b/northamerica tzdata2006c/northamerica
--- tzdata2006b/northamerica	2006-02-20 08:08:17.000000000 -0700
+++ tzdata2006c/northamerica	2006-04-03 08:07:15.000000000 -0600
@@ -1076,7 +1094,7 @@ Rule	Moncton	1940	only	-	May	19	1:00	1:0
 Rule	Moncton	1941	only	-	May	 4	1:00	1:00	D
 Rule	Moncton	1946	1972	-	Apr	lastSun	2:00	1:00	D
 Rule	Moncton	1946	1956	-	Sep	lastSun	2:00	0	S
-Rule	Moncton	1956	1972	-	Oct	lastSun	2:00	0	S
+Rule	Moncton	1957	1972	-	Oct	lastSun	2:00	0	S
 Rule	Moncton	1993	2006	-	Apr	Sun>=1	0:01	1:00	D
 Rule	Moncton	1993	2006	-	Oct	lastSun	0:01	0	S
 Rule	Moncton	2007	max	-	Mar	Sun>=8	0:01	1:00	D
diff -BENZbiwpsu tzdata2006g/northamerica tzdata2006j/northamerica
--- tzdata2006g/northamerica	2006-05-08 15:17:48.000000000 -0600
+++ tzdata2006j/northamerica	2006-08-21 07:56:09.000000000 -0600
-# For now, assume it started in 1993.  The Office of the Premier announced
-# <http://www.gnb.ca/cnb/news/pre/2005e1737pr.htm> (2005-12-23)
-# that they will bring forward proposed amendments to harmonize with the US;
-# for now assume that this will happen, but they'll still switch at 00:01.
+# For now, assume it started in 1993.
 Rule	Moncton	1933	1935	-	Jun	Sun>=8	1:00	1:00	D
@@ -1103,8 +1121,6 @@ Rule	Moncton	1946	1956	-	Sep	lastSun	2:0
 Rule	Moncton	1957	1972	-	Oct	lastSun	2:00	0	S
 Rule	Moncton	1993	2006	-	Apr	Sun>=1	0:01	1:00	D
 Rule	Moncton	1993	2006	-	Oct	lastSun	0:01	0	S
-Rule	Moncton	2007	max	-	Mar	Sun>=8	0:01	1:00	D
-Rule	Moncton	2007	max	-	Nov	Sun>=1	0:01	0	S
 Zone America/Moncton	-4:19:08 -	LMT	1883 Dec  9
@@ -1113,13 +1129,79 @@ Zone America/Moncton	-4:19:08 -	LMT	1883
 			-4:00	Moncton	A%sT	1973
-			-4:00	Moncton	A%sT
+			-4:00	Moncton	A%sT	2007
+			-4:00	Canada	A%sT
diff -BENZbiwpsu tzdata2014e/zone1970.tab tzdata2014f/zone1970.tab
--- tzdata2014e/zone1970.tab	1969-12-31 17:00:00.000000000 -0700
+++ tzdata2014f/zone1970.tab	2014-07-31 16:20:45.000000000 -0600
+CA	+4734-05243	America/St_Johns	Newfoundland Time, including SE Labrador
+CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (most places), PEI
+CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia - places that did not observe DST 1966-1971
+CA	+4606-06447	America/Moncton	Atlantic Time - New Brunswick
+CA	+5320-06025	America/Goose_Bay	Atlantic Time - Labrador - most locations
+CA	+5125-05707	America/Blanc-Sablon	Atlantic Standard Time - Quebec - Lower North Shore
+CA	+4339-07923	America/Toronto	Eastern Time - Ontario & Quebec - most locations
diff -pu --strip-trailing-cr -u tzdata2016a/zone.tab tzdata2016b/zone.tab
--- tzdata2016a/zone.tab	2015-11-09 08:57:07.000000000 -0700
+++ tzdata2016b/zone.tab	2016-03-01 00:00:39.000000000 -0700
-CA	+4734-05243	America/St_Johns	Newfoundland Time, including SE Labrador
-CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (peninsula), PEI
-CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia (Cape Breton)
-CA	+4606-06447	America/Moncton	Atlantic Time - New Brunswick
-CA	+5320-06025	America/Goose_Bay	Atlantic Time - Labrador - most locations
-CA	+5125-05707	America/Blanc-Sablon	Atlantic Standard Time - Quebec - Lower North Shore
-CA	+4339-07923	America/Toronto	Eastern Time - Ontario & Quebec - most locations
+CA	+4734-05243	America/St_Johns	Newfoundland; Labrador (southeast)
+CA	+4439-06336	America/Halifax	Atlantic - NS (most areas); PE
+CA	+4612-05957	America/Glace_Bay	Atlantic - NS (Cape Breton)
+CA	+4606-06447	America/Moncton	Atlantic - New Brunswick
+CA	+5320-06025	America/Goose_Bay	Atlantic - Labrador (most areas)
+CA	+5125-05707	America/Blanc-Sablon	AST - QC (Lower North Shore)
+CA	+4339-07923	America/Toronto	Eastern - ON, QC (most areas)
diff -pu --strip-trailing-cr -u tzdata2016a/zone1970.tab tzdata2016b/zone1970.tab
--- tzdata2016a/zone1970.tab	2016-01-25 11:04:14.000000000 -0700
+++ tzdata2016b/zone1970.tab	2016-03-10 16:25:57.000000000 -0700
-CA	+4734-05243	America/St_Johns	Newfoundland Time, including SE Labrador
-CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (peninsula), PEI
-CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia (Cape Breton)
-CA	+4606-06447	America/Moncton	Atlantic Time - New Brunswick
-CA	+5320-06025	America/Goose_Bay	Atlantic Time - Labrador - most locations
-CA	+5125-05707	America/Blanc-Sablon	Atlantic Standard Time - Quebec - Lower North Shore
-CA	+4339-07923	America/Toronto	Eastern Time - Ontario & Quebec - most locations
+CA	+4734-05243	America/St_Johns	Newfoundland; Labrador (southeast)
+CA	+4439-06336	America/Halifax	Atlantic - NS (most areas); PE
+CA	+4612-05957	America/Glace_Bay	Atlantic - NS (Cape Breton)
+CA	+4606-06447	America/Moncton	Atlantic - New Brunswick
+CA	+5320-06025	America/Goose_Bay	Atlantic - Labrador (most areas)
+CA	+5125-05707	America/Blanc-Sablon	AST - QC (Lower North Shore)
+CA	+4339-07923	America/Toronto	Eastern - ON, QC (most areas)
diff -u tzdata2018e/zishrink.awk tzdata2018f/zishrink.awk
--- tzdata2018e/zishrink.awk	2018-01-23 15:54:15.000000000 -0700
+++ tzdata2018f/zishrink.awk	2018-07-31 01:30:27.000000000 -0600
+  rule["Lebanon"] = "l"
+  rule["Mexico"] = "m"
+  rule["Tunisia"] = "n" # country code TN
+  rule["Moncton"] = "o" # arbitrary
+  rule["Port"] = "p"
+  rule["Albania"] = "q" # arbitrary
+  rule["Regina"] = "r"


More information about the tz mailing list