[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Patch for Daylight Savings Time (DST))



Dave Sherohman <esper@sherohman.org>:
>  On Wed, Jan 31, 2007 at 06:05:18AM -0600, Hugo Vanwoerkom wrote:
> > Rob Sims wrote:
> > >$ zdump -v /etc/localtime | grep 2007
> > >/etc/localtime  Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 
> > >MST isdst=0 gmtoff=-25200
> > >/etc/localtime  Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 
> > >MDT isdst=1 gmtoff=-21600
> > >/etc/localtime  Sun Nov  4 07:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 
> > >MDT isdst=1 gmtoff=-21600
> > >/etc/localtime  Sun Nov  4 08:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 
> > >MST isdst=0 gmtoff=-25200
> > >
> > >Just take the current "security" updates for libc6.
> > 
> > Neat. But this proves that ST setup is ok?
> 
>  In a slightly different form:
> 
>  date --date="Mar 10 15:00:00 UTC 2007"
>  Sat Mar 10 09:00:00 CST 2007
> 
>  date --date="Mar 11 15:00:00 UTC 2007"
>  Sun Mar 11 10:00:00 CDT 2007
> 
>  You see in the output of these date commands that the timezone is listed
>  as CST on March 10 and CDT on March 11, which is correct.  You can run
>  the same to commands to determine whether your system also returns the
>  correct timezones on those dates.  (Given that I'm running stable and
>  get correct results, I expect that you'll be fine as long as you're

Now I'm really confused.  I'm running stable/sarge too:

(0) heretic /home/keeling_ zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Apr  1 08:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 MST isdst=0 gmtoff=-25200
/etc/localtime  Sun Apr  1 09:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 MDT isdst=1 gmtoff=-21600
/etc/localtime  Sun Oct 28 07:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 MDT isdst=1 gmtoff=-21600
/etc/localtime  Sun Oct 28 08:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 MST isdst=0 gmtoff=-25200
(0) heretic /home/keeling_ date --date="Mar 10 15:00:00 UTC 2007"
Sat Mar 10 08:00:00 MST 2007
(0) heretic /home/keeling_ date --date="Mar 11 15:00:00 UTC 2007"
Sun Mar 11 08:00:00 MST 2007

Have I missed something blindingly obvious here?  I thought Canada was
supposed to be aligning itself with US ST/DT?

ii  coreutils  5.2.1-2  The GNU core utilities


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling          Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.
       Spammers! http://www.spots.ab.ca/~keeling/emails.html



Reply to: