GNU bug report logs - #11098
date --yesterday wrong result

Previous Next

Package: coreutils;

Reported by: Hugo Guérineau <hugo.guerineau <at> wwsight.com>

Date: Mon, 26 Mar 2012 16:43:01 UTC

Severity: normal

Tags: notabug

Merged with 11101, 11125, 15785, 18159, 18479, 20523

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 11098-done <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Hugo Guérineau <hguerine <at> gmail.com>
Cc: 11098-done <at> debbugs.gnu.org
Subject: Re: bug#11098: date --yesterday wrong result
Date: Tue, 27 Mar 2012 11:38:13 -0600
[Message part 1 (text/plain, inline)]
On 03/27/2012 03:15 AM, Hugo Guérineau wrote:
> Hi Eric,
> 
> Thank you for this answer. My excpectations are not buged! ;) When
> someone ask me to tell him what is yesterday, even if we are early in
> the morning, I answer him the day before and not two days ago.

You are welcome to submit a patch to gnulib to change getdate.y, and to
coreutils to document your desired improved semantic change to relative
date computations.  It's just that it is such a complex patch, and the
fact that we have a documented workaround, that no one has been bothered
enough to submit a patch so far.

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 6 years and 266 days ago.

Previous Next


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