GNU bug report logs - #11101
Incorrect relative dates the day after DST switchover

Previous Next

Package: coreutils;

Reported by: chip <at> seraphine.us

Date: Tue, 27 Mar 2012 16:49:01 UTC

Severity: normal

Tags: notabug

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

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: chip <at> seraphine.us
Cc: 11101 <at> debbugs.gnu.org
Subject: bug#11101: Incorrect relative dates the day after DST switchover
Date: Tue, 27 Mar 2012 11:38:39 -0600
[Message part 1 (text/plain, inline)]
On 03/27/2012 11:34 AM, chip <at> seraphine.us wrote:
> Well, if one assumes the point of allowing 'human-friendly' relative dates
> such as 'yesterday' is to make usage more intuitive, then the
> 24-hour-offset is probably incorrect behavior.  That would explain the
> quantity of bug reports you are seeing.
> 
> Perhaps the 'yesterday' directive ought to just go ahead and assume the
> recommended noon reference point, rather than the current moment?  That
> would certainly reflect the general meaning of the term 'yesterday' more
> accurately.
> 
> It seems odd to explicitly permit a natural-language term and then use a
> definition for it that differs from what a natural-language user probably
> means.

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 210 days ago.

Previous Next


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