It does seem counterintuitive, but this behavior appears to be by-design. See 
here for a similar issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=301972

Feb. 30th is an invalid date which `date` doesn't want to return, which
is why it's bumping the result into March.

** Bug watch added: Debian Bug tracker #301972
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=301972

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/710368

Title:
  /bin/date --date='next month' is wrong

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to