|
From: | Lao DanTong |
Subject: | Re: a bug in date concerning daylight saving time |
Date: | Fri, 28 Sep 2007 20:43:34 -0300 (BRT) |
On Fri, 28 Sep 2007, Bob Proulx wrote:
Lao DanTong wrote:John Cowan wrote:Maybe you want to argue that dates without times should mean the first second of the day rather than 00:00:00.Yes. this makes a lot of sense, don't you think? Notice that date reports illegal date for a date specification like --date=2007-10-14+2hours, which should be legal and render as 2007-10-14T03:00:00What should be done for other invalid dates such as Feb 30th?
good point. I think Feb 30th could produce: $ date --date 2007-02-30 Fri Mar 2 00:00:00 BRT 2007as the date used to do in old times. I don't think this could be harmful in any way, and the result IS meaningful.
[Prev in Thread] | Current Thread | [Next in Thread] |