[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: |
Pádraig Brady |
Subject: |
Re: [PATCH] getdate add a week when the wday is the same as the current one |
Date: |
Fri, 1 May 2009 09:57:27 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
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.
cheers,
Pádraig.