[Bug 710368] Re: /bin/date --date='next month' is wrong
Curtis Hovey
curtis.hovey at canonical.com
Fri Nov 11 21:28:15 UTC 2011
** No longer affects: null
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/710368
Title:
/bin/date --date='next month' is wrong
Status in “coreutils” package in Ubuntu:
Won't Fix
Bug description:
cat i
/bin/date
/bin/date +'%B'
/bin/date --date='last month' +'%B'
/bin/date --date='this month' +'%B'
/bin/date --date='next month' +'%B'
sh iSun Jan 30 16:59:31 EST 2011
January
December
January
March
Note that 'this month' == January and 'next month' == March
Looks like a bug to me ;)
Mike Bianchi
More info ...
uname -a
Linux foveal4 2.6.24-28-generic #1 SMP Wed Nov 24 09:30:14 UTC 2010 i686 GNU/Linux
date --version
date (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David MacKenzie.
env
MANPATH=/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man
CVSROOT=/home/mbianchi/src/cvs
XDG_SESSION_COOKIE=fc5be364da5fcba6be068700465b3fb0-1296424178.733295-249958869
BROWSER=mozilla
LD_LIBRARY_PATH=/lib:/usr/lib
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
HOME=/home/mbianchi
DISPLAY=:0.0
MAILCHECK=0
SSH_AUTH_SOCK=/tmp/ssh-WaRbE10988/agent.10988
PWD=/usr/share/locale
PRINTER=ps
METAMAIL_PAGER=less -r -isX
WINDOWID=41943047
CVS_RSH=ssh
PS2=
SHLVL=0
DM_CONTROL=/var/run/xdmctl
RUBYLIB=/home/mbianchi/src/autoaud/lib/ruby
GS_LIB=/home/mbianchi/.fonts
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/710368/+subscriptions
More information about the foundations-bugs
mailing list