The date command seems to have an issue with months ending on the 31st.
This is an example of the behaviour:

theden:~ # date -s "31 July 2006 14:07"
Mon Jul 31 14:07:00 SAST 2006
theden:~ # date --date "1 month ago"
Sat Jul  1 14:07:12 SAST 2006

theden:~ # uname -a
Linux theden 2.4.21-278-default #1 Mon Mar 7 09:14:15 UTC 2005 i686 unknown



OS:use Linux Enterprise 8, SP 4
Version
[EMAIL PROTECTED]:~> date --version
date (GNU sh-utils) 2.0
Written by David MacKenzie.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.







_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to