FW: Brazil DST changes - Mailing list and new diffs

Frederico A C Neves fneves at registro.br
Fri Sep 19 14:06:47 UTC 2008


On Wed, Sep 17, 2008 at 07:17:34PM -0300, Herton Ronaldo Krzesinski wrote:
...
> Hi,
> 
> I found some problems in the changes:
> - Need to be redone for 2008f tzdata changes
> - Small typo in added comment ("exceptiion")

There is another one I sent on the second diffs (least -> last)

> - The comment
>  # For dates after mid-2008, the above rules with TO="max" are guesses
>  # and are quite possibly wrong, but are more likely than no DST at all.
>   could be removed.
> - Checking output with zdump -v, trying to specify the generic rule
> "Rule  Brazil  2008    max     -       Feb     Sun>=15  0:00   0       -"
> followed by "only" rules trying to override it didn't work, need to specify
> ranges manually.

I confirm this, Herton is correct. I double checked it this time and
now it looks good.

Attached the diffs with all the corrections,

Regards,
Fred
-------------- next part --------------
--- tzdata2008f/southamerica-orig	2008-09-18 19:34:20.000000000 -0300
+++ tzdata2008f/southamerica	2008-09-18 19:55:17.000000000 -0300
@@ -768,12 +768,25 @@
 # Decree <a href="http://pcdsh01.on.br/DecHV6212.gif">6,212</a> (2007-09-26),
 # adopted by the same states as before.
 Rule	Brazil	2007	only	-	Oct	Sun>=8	 0:00	1:00	S
-Rule	Brazil	2008	max	-	Feb	Sun>=15	 0:00	0	-
+# Decree <a href="http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm">6,558</a>
+# At last a fixed rule! 3rd Sun Oct to 3rd Sun Feb. There is an
+# exception when the return date is a Carnival Sunday then the return
+# will be the next Sunday. Exceptions until 2038 calculated bellow
+# adopted by the same states as before.
 Rule	Brazil	2008	max	-	Oct	Sun>=15	 0:00	1:00	S
-# The latest ruleset listed above says that the following states observe DST:
-# DF, ES, GO, MG, MS, MT, PR, RJ, RS, SC, SP.
-# For dates after mid-2008, the above rules with TO="max" are guesses
-# and are quite possibly wrong, but are more likely than no DST at all.
+Rule	Brazil	2008	2011	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2012	only	-	Feb	26	 0:00	0	-
+Rule	Brazil	2013	2014	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2015	only	-	Feb	22	 0:00	0	-
+Rule	Brazil	2016	2022	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2023	only	-	Feb	26	 0:00	0	-
+Rule	Brazil	2024	2025	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2026	only	-	Feb	22	 0:00	0	-
+Rule	Brazil	2027	2033	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2034	only	-	Feb	26	 0:00	0	-
+Rule	Brazil	2035	2036	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2037	only	-	Feb	22	 0:00	0	-
+Rule	Brazil	2038	max	-	Feb	Sun>=15	 0:00	0	-
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 #


More information about the tz mailing list