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


Message #14 received at 13372 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Tomas Dabašinskas <tomas <at> redhat.com>
Cc: 13372 <at> debbugs.gnu.org
Subject: Re: bug#13372: bug in date with last week calculation
Date: Sun, 06 Jan 2013 18:41:56 -0800
On 01/06/2013 06:18 PM, Tomas Dabašinskas wrote:
> The time zone I'm using is GMT+10 (Australian East Std time).

Ah, in that case week 53 is correct, no?

$ export TZ=Australia/Sydney; date; date -d'last week'; date -d'last week' +%W
Mon Jan  7 13:41:02 EST 2013
Mon Dec 31 13:41:02 EST 2012
53





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

Previous Next


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