Patricio Baya <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] controles]$ date > vie oct 31 13:41:49 ART 2003 > [EMAIL PROTECTED] controles]$ date -d "1 month ago" > mià oct 1 13:42:04 ART 2003 > The re is a big mistake. If today is 31/10/2003 , 1 Month Ago must return or > 30/09 or someting else, but not "OCT 1"
I don't see why it's a big mistake. 1 month before October 31 is "September 31". But there is no "September 31", so you've specified an ambiguous day. September 30 and October 1 are both reasonable ways to resolve the ambiguity. It might be nice to change "date" to behave the way that you like, but I don't see why the current behavior is a bug. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
