GNU bug report logs - #13372
bug in date with last week calculation

Previous Next

Package: coreutils;

Reported by: Tomas Dabašinskas <tomas <at> redhat.com>

Date: Mon, 7 Jan 2013 00:50:01 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tomas Dabašinskas <tomas <at> redhat.com>
To: 13372 <at> debbugs.gnu.org
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





This bug report was last modified 12 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.