Bug 44004

Summary: Brazil time zone file sets DST incorrectly
Product: Base System Reporter: Vitor de Matos Carvalho <vitor>
Component: i386Assignee: Garrett Wollman <wollman>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.6-STABLE   
Hardware: Any   
OS: Any   

Description Vitor de Matos Carvalho 2002-10-13 11:50:00 UTC
The 0:00 of day 13 of October FreeBSD it changed the zone of clock for
the summer schedule. It moved of BRT for BRST. However the schedule of
summer in the Brazil still did not start.

Quarter: orange
Comment 1 Greg Lehey freebsd_committer freebsd_triage 2002-10-14 02:07:08 UTC
State Changed
From-To: open->feedback

PR submitted with insufficient information.
Comment 2 Vitor de Matos Carvalho 2002-10-14 02:19:03 UTC
Today 13 of October of
2002 FreeBSD and others operational systems, are started to define this date
of today as the beginning of Brazil summer time.
This date is missed, the beginning of Brazil summer time is defined to have
beginning:

From zero hour of day 3 of November of 2002, until zero hour of day 16 of
February of 2003, it will invigorate the summer hour, in part of the
Brazilian Domestic territory, advanced in sixty minutes in relation to the
legal hour. The states that will be enclosed in summer teams are: States of
the Rio Grande Do Sul, Santa Catarina, Paraná, São Paulo, Rio De Janeiro,
Espirito Santo, Minas Gerais, Goiás, Mato Grosso, Mato Grosso do Sul,
Tocantins, Bahia and in the Federal District

Any doubt can be consulted by the official page of the Presidency of the
Republic.
http://www.planalto.gov.br/ccivil_03/decreto/2002/D4399.htm



 Regards,
 Vitor de Matos Carvalho
 System Network Administrator - Softinfo Network
 FreeBSD - The Power To Serve
Comment 3 eksffa 2002-10-14 15:18:04 UTC
Hi there. A single follow-up for this issue.


Vitor's patch avaiable at
http://www.softinfo.com.br/~vitor/patchs/southamerica.patch

Is all functional and correct, according to our contry official note for 
the summer time this year (as noted in the originator's PR).

This is an autentic trouble leading up t FreeBSD, OpenBSD, NetBSD and 
Linux boxes. We hope this fix will be applied.

Thanks to Vitor for the patch.

-- 
Regards,

Patrick Tracanelli

FreeBSD Brasil LTDA.
The FreeBSD pt_BR Documentation Project
http://www.freebsdbrasil.com.br
patrick@freebsdbrasil.com.br
Comment 4 Vitor de Matos Carvalho 2002-10-15 18:52:41 UTC
Hi all :))

The files
ftp://elsie.nci.nih.gov/pub/tzcode2002d.tar.gz
and
ftp://elsie.nci.nih.gov/pub/tzdata2002d.tar.gz
are now available.

Particularly in mine in case that, with the new version of tzdata2002d set
free now, it already comes with the Brazil problem time zone file sets DST
incorrectly corrected.

 Regards,
 Vitor de Matos Carvalho
 System Network Administrator - Softinfo Network
 FreeBSD - The Power To Serve
----- Original Message -----
From: "Patrick Tracanelli" <eksffa@freebsdbrasil.com.br>
To: <freebsd-gnats-submit@FreeBSD.org>; <vitor@softinfo.com.br>
Sent: Monday, October 14, 2002 11:18 AM
Subject: Re: i386/44004: Brazil time zone file sets DST incorrectly


>
> Hi there. A single follow-up for this issue.
>
>
> Vitor's patch avaiable at
> http://www.softinfo.com.br/~vitor/patchs/southamerica.patch
>
> Is all functional and correct, according to our contry official note for
> the summer time this year (as noted in the originator's PR).
>
> This is an autentic trouble leading up t FreeBSD, OpenBSD, NetBSD and
> Linux boxes. We hope this fix will be applied.
>
> Thanks to Vitor for the patch.
>
> --
> Regards,
>
> Patrick Tracanelli
>
> FreeBSD Brasil LTDA.
> The FreeBSD pt_BR Documentation Project
> http://www.freebsdbrasil.com.br
> patrick@freebsdbrasil.com.br
>
>
Comment 5 Garrett Wollman freebsd_committer freebsd_triage 2002-10-16 02:33:47 UTC
Responsible Changed
From-To: freebsd-bugs->wollman

I will update with the latest ADO timezone files as soon as I get this 
new-fangled remote CVS stuff figured out.
Comment 6 Garrett Wollman freebsd_committer freebsd_triage 2002-10-21 19:12:23 UTC
State Changed
From-To: feedback->closed

tzdata2002d update imported and merged on both release trains.
Comment 7 Vitor de Matos Carvalho 2002-11-04 13:13:25 UTC
HI :))

I am sending patch here: 

--- /usr/src/share/zoneinfo/southamerica	Mon Oct 14 10:11:25 2002
+++ /usr/src/share/zoneinfo/southamerica.orig	Mon Oct 14 10:11:16 2002
@@ -428,15 +428,9 @@
 #
 # For dates after mid-2002, the following rules are guesses
 # and are quite possibly wrong, but are more likely than no DST at all.
-Rule	Brazil	2000	2001	-	Oct	Sun>=8	 0:00	1:00	S
+Rule	Brazil	2000	max	-	Oct	Sun>=8	 0:00	1:00	S
 Rule	Brazil	2001	max	-	Feb	Sun>=15	 0:00	0	-
-# Add by
-# Vitor de M. Carvalho <vitor@softinfo.com.br>
-# 14 October of 2002
-Rule	Brazil	2002	2003	-	Nov	3	0:00	1:00	S
-Rule	Brazil	2003	max	-	Feb	16	0:00	0	-
-# For dates after mid-2003, the above rules with TO="max" are guesses
-# and are quite possibly wrong, but are more likely than no DST at all.
+
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 #
@@ -459,8 +453,7 @@
 			-3:00	-	BRT	1999 Sep 30
 			-3:00	Brazil	BR%sT	2000 Oct 22
 			-3:00	-	BRT	2001 Sep 13
-			-3:00	Brazil	BR%sT	2002 Oct  1
-			-3:00	-	BRT
+			-3:00	Brazil	BR%sT
 #
 # Pernambuco (PE) (except Atlantic islands)
 Zone America/Recife	-2:19:36 -	LMT	1914
@@ -468,15 +461,13 @@
 			-3:00	-	BRT	1999 Sep 30
 			-3:00	Brazil	BR%sT	2000 Oct 15
 			-3:00	-	BRT	2001 Sep 13
-			-3:00	Brazil	BR%sT	2002 Oct  1
-			-3:00	-	BRT
+			-3:00	Brazil	BR%sT
 #
 # Tocantins (TO)
 Zone America/Araguaina	-3:12:48 -	LMT	1914
 			-3:00	Brazil	BR%sT	1990 Sep 17
 			-3:00	-	BRT	1995 Sep 14
-			-3:00	Brazil	BR%sT	2002 Oct  1
-			-3:00	-	BRT
+			-3:00	Brazil	BR%sT
 #
 # Alagoas (AL), Sergipe (SE)
 Zone America/Maceio	-2:22:52 -	LMT	1914