bug-coreutils
[Top][All Lists]
Advanced

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

Re: a bug in date concerning daylight saving time


From: Bob Proulx
Subject: Re: a bug in date concerning daylight saving time
Date: Fri, 28 Sep 2007 15:19:45 -0600
User-agent: Mutt/1.5.9i

Lao DanTong wrote:
> I found what is likely to be a bug in date. It does not recognise as valid 
> the date when clock jumps one hour due to DST. here in Brazil we use this 
> rule:
> 
> Rule    Brazil  2007    max     -       Oct     Sun>=8   0:00   1:00    S
> Rule    Brazil  2008    max     -       Feb     Sun>=15  0:00   0       -

Would you do me a favor and show the output of zdump for this year for
your timezone?  Here is an example for my timezone of US/Mountain.

  $ zdump -v US/Mountain | grep 2007
  US/Mountain  Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 MST 
isdst=0 gmtoff=-25200
  US/Mountain  Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 MDT 
isdst=1 gmtoff=-21600
  US/Mountain  Sun Nov  4 07:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 MDT 
isdst=1 gmtoff=-21600
  US/Mountain  Sun Nov  4 08:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 MST 
isdst=0 gmtoff=-25200

What is the output for your timezone?  I believe this will be useful
information in understanding what is happening.

Please remember to keep the bug-coreutils mailing list in the To: or
Cc: list so that all may participate in the discussion.

Thanks
Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]