Thanks for the corrections. I installed the attached patches to the development 
repository on GitHub. The first one implements your suggestions. The second one 
rewords our data to better match the wording of older Brazilian decrees (unlike 
your suggestions, this doesn't change any timestamps). These patches should 
appear in the next TZDB release, which should be quite soon due to the Cuba 
situation.
From 8309f5823e953697752f974dd5b30cee5ca4a9dd Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Mon, 26 Oct 2026 22:37:08 -0700
Subject: [PROPOSED 1/2] =?UTF-8?q?Fix=20Brazil=E2=80=99s=201965=20and=2019?=
 =?UTF-8?q?66=20fallback=20transitions.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* NEWS: Mention this.
* southamerica (Brazil): In 1965 Brazil ended DST on 03-31 at
24:00 not 00:00, and in 1966 it ended DST on 03-01 at 01:00 not
00:00.  (Thanks to Daniel Dias Rodrigues.)
---
 NEWS         | 7 +++++++
 southamerica | 6 ++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 1efc6578..fbde4e71 100644
--- a/NEWS
+++ b/NEWS
@@ -5,12 +5,19 @@ Unreleased, experimental changes
   Briefly:
     Cuba will not fall back 2026-11-01; stays on -04 through 2027-11-07.
     No more leap seconds, and leap second tables no longer expire.
+    Improve 1965/1966 data for Brazil.
 
   Changes to future timestamps
 
     Cuba will not fall back to -05 on 2026-11-01 and instead plans to
     maintain -04 through 2027-11-07.
 
+  Changes to past timestamps
+
+    In 1965 Brazil ended DST on 03-31 at 24:00 not 00:00, and in 1966
+    it ended DST on 03-01 at 01:00 not 00:00.  (Thanks to Daniel Dias
+    Rodrigues.)
+
   Changes to code
 
     zic now ignores Expires lines, as leap second tables in TZif files
diff --git a/southamerica b/southamerica
index 2a9d60a0..74ca4a13 100644
--- a/southamerica
+++ b/southamerica
@@ -806,12 +806,13 @@ Rule	Brazil	1963	only	-	Dec	 9	 0:00	1:00	-
 Rule	Brazil	1964	only	-	Mar	 1	 0:00	0	-
 # Decree 55,639 <http://pcdsh01.on.br/HV55639.htm> (1965-01-27)
 Rule	Brazil	1965	only	-	Jan	31	 0:00	1:00	-
-Rule	Brazil	1965	only	-	Mar	31	 0:00	0	-
+Rule	Brazil	1965	only	-	Mar	31	24:00	0	-
 # Decree 57,303 <http://pcdsh01.on.br/HV57303.htm> (1965-11-22)
 Rule	Brazil	1965	only	-	Dec	 1	 0:00	1:00	-
 # Decree 57,843 <http://pcdsh01.on.br/HV57843.htm> (1966-02-18)
-Rule	Brazil	1966	1968	-	Mar	 1	 0:00	0	-
+Rule	Brazil	1966	only	-	Mar	 1	 1:00	0	-
 Rule	Brazil	1966	1967	-	Nov	 1	 0:00	1:00	-
+Rule	Brazil	1967	1968	-	Mar	 1	 0:00	0	-
 # Decree 63,429 <http://pcdsh01.on.br/HV63429.htm> (1968-10-15)
 # revoked DST.
 # Decree 91,698 <http://pcdsh01.on.br/HV91698.htm> (1985-09-27)
@@ -1040,6 +1041,7 @@ Zone America/Bahia	-2:34:04 -	LMT	1914
 # Goiás (GO), Distrito Federal (DF), Minas Gerais (MG),
 # Espírito Santo (ES), Rio de Janeiro (RJ), São Paulo (SP), Paraná (PR),
 # Santa Catarina (SC), Rio Grande do Sul (RS)
+# The 1963 date is for MG, ES, RJ, SP; others started DST on 1963-12-09.
 Zone America/Sao_Paulo	-3:06:28 -	LMT	1914
 			-3:00	Brazil	%z	1963 Oct 23  0:00
 			-3:00	1:00	%z	1964
-- 
2.56.0

From e9fd80237a7fea2d39a9774891d95dad219ebe01 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Mon, 26 Oct 2026 22:42:06 -0700
Subject: [PROPOSED 2/2] Match 1932, 1950 Brazil decree wording better
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* southamerica (Brazil): Change some 00:00 transitions to 24:00
the previous day, to match the decrees’ wording better.  This does
not change timestamps or the TZif output.
---
 southamerica | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/southamerica b/southamerica
index 74ca4a13..b46b3bb6 100644
--- a/southamerica
+++ b/southamerica
@@ -782,7 +782,7 @@ Zone	America/La_Paz	-4:32:36 -	LMT	1890
 # Decree 20,466 <http://pcdsh01.on.br/HV20466.htm> (1931-10-01)
 # Decree 21,896 <http://pcdsh01.on.br/HV21896.htm> (1932-01-10)
 Rule	Brazil	1931	only	-	Oct	 3	11:00	1:00	-
-Rule	Brazil	1932	1933	-	Apr	 1	 0:00	0	-
+Rule	Brazil	1932	1933	-	Mar	31	24:00	0	-
 Rule	Brazil	1932	only	-	Oct	 3	 0:00	1:00	-
 # Decree 23,195 <http://pcdsh01.on.br/HV23195.htm> (1933-10-10)
 # revoked DST.
@@ -790,9 +790,9 @@ Rule	Brazil	1932	only	-	Oct	 3	 0:00	1:00	-
 # Decree 27,998 <http://pcdsh01.on.br/HV27998.htm> (1950-04-13)
 Rule	Brazil	1949	1952	-	Dec	 1	 0:00	1:00	-
 Rule	Brazil	1950	only	-	Apr	16	 1:00	0	-
-Rule	Brazil	1951	1952	-	Apr	 1	 0:00	0	-
+Rule	Brazil	1951	1952	-	Mar	31	24:00	0	-
 # Decree 32,308 <http://pcdsh01.on.br/HV32308.htm> (1953-02-24)
-Rule	Brazil	1953	only	-	Mar	 1	 0:00	0	-
+Rule	Brazil	1953	only	-	Feb	28	24:00	0	-
 # Decree 34,724 <http://pcdsh01.on.br/HV34724.htm> (1953-11-30)
 # revoked DST.
 # Decree 52,700 <http://pcdsh01.on.br/HV52700.htm> (1963-10-18)
-- 
2.56.0

Reply via email to