[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bugs in 'date' coreutils v 5.0
From: |
Sebastien ESTIENNE |
Subject: |
Bugs in 'date' coreutils v 5.0 |
Date: |
Wed, 7 Jan 2004 17:10:42 +0100 |
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:
address@hidden sebest $ date
Wed Jan 7 17:04:02 CET 2004
address@hidden sebest $ date -d "7 days ago" '+%Y-%V'
2003-01
address@hidden sebest $ date -d "7 days ago" '+%Y-%U'
2003-52
address@hidden sebest $ date -d "6 days ago" '+%Y-%V'
2004-01
address@hidden sebest $
- Bugs in 'date' coreutils v 5.0,
Sebastien ESTIENNE <=