[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] getdate add a week when the wday is the same as the current
From: |
Jan Minář |
Subject: |
Re: [PATCH] getdate add a week when the wday is the same as the current one |
Date: |
Fri, 1 May 2009 15:10:59 +0100 |
On Fri, May 1, 2009 at 09:57, Pádraig Brady <address@hidden> wrote:
> Jim Meyering wrote:
>> I expect to push this shortly.
>> Thank you!
>
>>>From 372c3b4a79def664b8fa73316c35caf39bf93e2c Mon Sep 17 00:00:00 2001
>> From: Giuseppe Scrivano <address@hidden>
>> Date: Fri, 1 May 2009 09:23:20 +0200
>> Subject: [PATCH] getdate: correctly interpret "next monday" when run on a
>> Monday
>>
>> * lib/getdate.y (get_date): Correct the calculation of tm_mday so
>> that e.g., "next tues" (when run on a tuesday) results in a date
>> that is one week in the future, and not today's date.
>> Reported by Tom Broadhurst http://savannah.gnu.org/bugs/?25406
>> and earlier by Martin Bernreuther.
>
> And Jan Minář (CCd):
> http://lists.gnu.org/archive/html/bug-coreutils/2008-12/threads.html#00064
> Nice to see this finally fixed.
Thanks to Giuseppe for writing the patch.
Jan.