Re: Bug in GNU date

Niall O Broin <[email protected]>
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
Paul,
     I changed the date on one of the affected boxes (the only
non-operational one) so that the date asked for with 'last XXXday' doesn't
span DST savings changeover point and the problem disappears. 

So, I think we can fairly say that if your box's system time zone is one
affected by European Daylight Savings (perhaps it affects U.S.A. Daylight
Savings too - I don't know) and you don't have TZ set in your environment,
even to a null value, date up to and including 2.0.11 has a bug with the -d
"last XXXday" option if the daylight savings changeover point falls between
now and the day specified.



Kindest regards,



Niall
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.