bug-coreutils
[Top][All Lists]
Advanced

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

bug#6897: date -d '1991-04-14 +1 day' fails


From: Jim Meyering
Subject: bug#6897: date -d '1991-04-14 +1 day' fails
Date: Mon, 23 Aug 2010 15:40:43 +0200

Alan Curry wrote:
...
> There might be less occurrences of this misunderstanding if we could teach
> date that -d 4/14/1991 is not actually a request for 4/14/1991 00:00:00, but
> "any time that existed during the day 4/14/1991", or perhaps a more specific
> "the first second of 4/14/1991".

Use the 12th hour of the day, "1991-4-14 12:00".
I suspect that there have been very few DST transitions
around midday.





reply via email to

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