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