bug-coreutils
[Top][All Lists]
Advanced

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

date --date "1 month ago"


From: Mixo Shiburi
Subject: date --date "1 month ago"
Date: Wed, 02 Aug 2006 14:23:14 +0200
User-agent: Internet Messaging Program (IMP) 3.2.5

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
address@hidden:~> 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.









reply via email to

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