[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
date +%W bug
From: |
Dominique Bouix |
Subject: |
date +%W bug |
Date: |
Wed, 9 Jan 2002 13:56:47 +0200 |
User-agent: |
Mutt/1.2.5i |
After Sunday 30th Dec 2001 date +%W has been printing out the incorrect
results.
On Monday 31th Dec 2001 the output of date +%W was '53'.
On Tuesday 1st Jan 2002 the output of date +%W was '00'.
Today, Wednesday 9th Jan 2002 the output of date +%W is '01'.
According to my (Finnish) calendar it is currently week 2 and the whole of
last week was week number one.
Confirmed with sh-utils versions 1.16-23, 2.0-7 and 2.0.11-5.
Regards,
Dominique
- date +%W bug,
Dominique Bouix <=