Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68403

Summary: Wrong DST for timezone America/Sao_Paulo
Product: Gentoo Linux Reporter: Robson Paniago <rmiranda>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robson Paniago 2004-10-21 07:51:40 UTC
In Brazil, this year, the DST will be starting at Nov 2 2004, and will finish in Feb 20 2005. 
Using the current rules, the system entered in DST Oct 17.

The following lines must be added to file timezone/southamerica:
Rule    Brazil  2004    only    -       Nov     2       00:00   1       S
Rule    Brazil  2005    only    -       Feb     20      00:00   0       -

and the rule
Rule    Brazil  2003    max     -       Oct     Sun>=15  0:00   1:00    S
must be changed to
Rule    Brazil  2003    only    -       Oct     Sun>=15  0:00   1:00    S

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1
i686)
=================================================================
System uname: 2.6.8.1 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://www.gigaload.org/gentoo.org/ http://www.las.ic.unicamp.br/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups encode esd f77
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jikes jpeg kde kerberos libg++
libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss
pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl
svg svga tcltk tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Robson Paniago 2004-10-21 08:02:17 UTC
There is no need to add the line
Rule    Brazil  2005    only    -       Feb     20      00:00   0       -

since the line with "to=MAX" in 2001 will do the correct thing in the end of dayligth savings time.
Reference: Decree 5.223 (10-01-2004)
http://www.mme.gov.br/Ministerio/legislacao/decretos/Decreto%20n%205.223.htm
Comment 2 SpanKY gentoo-dev 2005-10-19 08:33:14 UTC

*** This bug has been marked as a duplicate of 109556 ***