bug-coreutils
[Top][All Lists]
Advanced

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

date -d yesterday fails after daylight saving


From: Piotr Piątkowski
Subject: date -d yesterday fails after daylight saving
Date: Mon, 29 Mar 2004 10:03:58 +0200
User-agent: Mutt/1.4i

I'm not sure what "adjusted accordingly" in this fragment from info date
means:

   When a relative item causes the resulting date to cross a boundary
   where the clocks were adjusted, typically for daylight-saving time,
   the resulting date and time are adjusted accordingly.

But having 'date +%y%m%d -d yesterday' called just after midnight on
march 28 and 29, I've got the same date (040327) due to daylight saving
time shift.

Shouldn't this be considered a bug?

$ date --version
date (coreutils) 4.5.3
Written by David MacKenzie.

-- 
Piotr Piątkowski, Onet.pl SA, Kraków                           [IT/???]
perl -le 's**02).4&9%4^[./4(%2^0%2,^([#+%2&**y%& -;^[%"`-{ a%%s%%$_%ee'




reply via email to

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