bug-coreutils
[Top][All Lists]
Advanced

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

Error with `/bin/date`


From: Robert Derryberry
Subject: Error with `/bin/date`
Date: Mon, 31 Jan 2005 10:04:16 -0600

Note the date is January 31st, not February 1st.  The resulting date
math is incorrect.

[LNXPROD1:/home/cfmc/telsam] cfmc% date
Mon Jan 31 09:56:23 CST 2005

[LNXPROD1:/home/cfmc/telsam] cfmc% date --date='next month' +%m
03
[LNXPROD1:/home/cfmc/telsam] cfmc% date --date='next month' +%b
Mar
[LNXPROD1:/home/cfmc/telsam] cfmc% date --date='next month' +%B
March


[LNXPROD1:/home/cfmc/telsam] cfmc% date --version
date (coreutils) 4.5.3
Written by David MacKenzie.

Copyright (C) 2002 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.



[LNXPROD1:/home/cfmc/telsam] cfmc% uname -a
Linux LNXPROD1 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004 i686
i686 i386 GNU/Linux

Robert Derryberry
Programmer, Corporate Research Center
Flake-Wilkerson Market Insights
501.791.7676 (office)
501.258.8348 (mobile)
address@hidden



reply via email to

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