[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13372: bug in date with last week calculation
From: |
Tomas Dabašinskas |
Subject: |
bug#13372: bug in date with last week calculation |
Date: |
Sun, 6 Jan 2013 18:48:59 -0500 (EST) |
Hi,
I'm getting week number 53 when trying to get last week on Mon Jan 7 09:46:19
EST 2013:
$ date
Mon Jan 7 09:46:19 EST 2013
$ date -d'last week' +%W
53
Expecting to get week 1
Many thanks!
--
Tomas Dabašinskas | Engineering Content Services | Red Hat Asia Pacific