Re: Timezone problem

From: Stephane CHAZELAS (this.address_at_is.invalid)
Date: 10/31/03


Date: Fri, 31 Oct 2003 01:20:33 +0100

2003/10/30, 07:44(-08), mimmo:
> I have a problem while calculating timezone (from Europe/Rome to
> Brazil/East).

I get the expected result with your code with glibc 2.3.2. You
may need to upgrade, you can also compile (zic(1)) this
description from glib sources

# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Brazil 1931 only - Oct 3 11:00 1:00 S
Rule Brazil 1932 1933 - Apr 1 0:00 0 -
Rule Brazil 1932 only - Oct 3 0:00 1:00 S
Rule Brazil 1949 1952 - Dec 1 0:00 1:00 S
Rule Brazil 1950 only - Apr 16 1:00 0 -
Rule Brazil 1951 1952 - Apr 1 0:00 0 -
Rule Brazil 1953 only - Mar 1 0:00 0 -
Rule Brazil 1963 only - Dec 9 0:00 1:00 S
Rule Brazil 1964 only - Mar 1 0:00 0 -
Rule Brazil 1965 only - Jan 31 0:00 1:00 S
Rule Brazil 1965 only - Mar 31 0:00 0 -
Rule Brazil 1965 only - Dec 1 0:00 1:00 S
Rule Brazil 1966 1968 - Mar 1 0:00 0 -
Rule Brazil 1966 1967 - Nov 1 0:00 1:00 S
Rule Brazil 1985 only - Nov 2 0:00 1:00 S
Rule Brazil 1986 only - Mar 15 0:00 0 -
Rule Brazil 1986 only - Oct 25 0:00 1:00 S
Rule Brazil 1987 only - Feb 14 0:00 0 -
Rule Brazil 1987 only - Oct 25 0:00 1:00 S
Rule Brazil 1988 only - Feb 7 0:00 0 -
Rule Brazil 1988 only - Oct 16 0:00 1:00 S
Rule Brazil 1989 only - Jan 29 0:00 0 -
Rule Brazil 1989 only - Oct 15 0:00 1:00 S
Rule Brazil 1990 only - Feb 11 0:00 0 -
Rule Brazil 1990 only - Oct 21 0:00 1:00 S
Rule Brazil 1991 only - Feb 17 0:00 0 -
Rule Brazil 1991 only - Oct 20 0:00 1:00 S
Rule Brazil 1992 only - Feb 9 0:00 0 -
Rule Brazil 1992 only - Oct 25 0:00 1:00 S
Rule Brazil 1993 only - Jan 31 0:00 0 -
Rule Brazil 1993 1995 - Oct Sun>=11 0:00 1:00 S
Rule Brazil 1994 1995 - Feb Sun>=15 0:00 0 -
Rule Brazil 1996 only - Feb 11 0:00 0 -
Rule Brazil 1996 only - Oct 6 0:00 1:00 S
Rule Brazil 1997 only - Feb 16 0:00 0 -
Rule Brazil 1997 only - Oct 6 0:00 1:00 S
Rule Brazil 1998 only - Mar 1 0:00 0 -
Rule Brazil 1998 only - Oct 11 0:00 1:00 S
Rule Brazil 1999 only - Feb 21 0:00 0 -
Rule Brazil 1999 only - Oct 3 0:00 1:00 S
Rule Brazil 2000 only - Feb 27 0:00 0 -
Rule Brazil 2000 2001 - Oct Sun>=8 0:00 1:00 S
Rule Brazil 2001 max - Feb Sun>=15 0:00 0 -
Rule Brazil 2002 only - Nov 3 0:00 1:00 S
Rule Brazil 2003 max - Oct Sun>=8 0:00 1:00 S

# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone America/Sao_Paulo -3:06:28 - LMT 1914
                        -3:00 Brazil BR%sT 1963 Oct 23 00:00
                        -3:00 1:00 BRST 1964
                        -3:00 Brazil BR%sT

Link America/Sao_Paulo Brazil/East

-- 
Stéphane                      ["Stephane.Chazelas" at "free.fr"]