/bin/date --date='next month' is wrong
Asked by
Mike Bianchi
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
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu coreutils Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mike Bianchi for more information if necessary.
To post a message you must log in.