DST changes in 2007

James R. Van Zandt jrvz at comcast.net
Sat Oct 28 17:52:05 EDT 2006


"Michael ODonnell" <michael.odonnell at comcast.net> wrote:
>   FYI, I've done some digging and it appears that since
>   late 2005 RHAT have been shipping tzdata RPMs which (if
>   you believe the changelog at the RHN site) will do the
>   right thing when the DST apocalypse comes in March 2007.
>
>   I assume (but have not confirmed) that Debian have been
>   similarly proactive...

Yes.  Version 2006m of the sources included these rules in the
"northamerica" file:

  Rule    US      1967    2006    -       Oct     lastSun 2:00    0       S
  Rule    US      1987    2006    -       Apr     Sun>=1  2:00    1:00    D
  Rule    US      2007    max     -       Mar     Sun>=8  2:00    1:00    D
  Rule    US      2007    max     -       Nov     Sun>=1  2:00    0       S
  Zone    EST5EDT          -5:00  US      E%sT
  Zone    CST6CDT          -6:00  US      C%sT
  Zone    MST7MDT          -7:00  US      M%sT
  Zone    PST8PDT          -8:00  US      P%sT

The version in Debian unstable is "tzdata_2006n-1_all.deb".  

I also discovered that /usr/bin/zdump will display local time
discontinuities in a given time zone, so anyone can check the
installed tzdata files:

  vanzandt:/tmp$ cat /etc/timezone 
  US/Eastern
  vanzandt:/tmp$ zdump -v US/Eastern | egrep '(2006|2007)'
  US/Eastern  Sun Apr  2 06:59:59 2006 UTC = Sun Apr  2 01:59:59 2006 EST isdst=0 gmtoff=-18000
  US/Eastern  Sun Apr  2 07:00:00 2006 UTC = Sun Apr  2 03:00:00 2006 EDT isdst=1 gmtoff=-14400
  US/Eastern  Sun Oct 29 05:59:59 2006 UTC = Sun Oct 29 01:59:59 2006 EDT isdst=1 gmtoff=-14400
  US/Eastern  Sun Oct 29 06:00:00 2006 UTC = Sun Oct 29 01:00:00 2006 EST isdst=0 gmtoff=-18000
  US/Eastern  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
  US/Eastern  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
  US/Eastern  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
  US/Eastern  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST isdst=0 gmtoff=-18000
  vanzandt:/tmp$ 

           - Jim Van Zandt


More information about the gnhlug-discuss mailing list