Bugs in 'date' coreutils v 5.0
"Sebastien ESTIENNE" <[email protected]> Wed, 7 Jan 2004 17:10:42 +0100
| Newsgroups | gmane.comp.gnu.sh-utils.bugs,gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
on 7 juanary 2004 when i ask date to print the week number of the year 7 days ago, normaly the last day of the previous year, 'date' answers 01 so date -d "7 days ago" '+%V' and date -d "7 days ago" '+%V' give the same answer!!! example: sebest@carbon sebest $ date Wed Jan 7 17:04:02 CET 2004 sebest@carbon sebest $ date -d "7 days ago" '+%Y-%V' 2003-01 sebest@carbon sebest $ date -d "7 days ago" '+%Y-%U' 2003-52 sebest@carbon sebest $ date -d "6 days ago" '+%Y-%V' 2004-01 sebest@carbon sebest $