[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] getdate.y merge from coreutils
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] getdate.y merge from coreutils |
Date: |
04 Aug 2003 22:16:37 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this:
2003-08-04 Paul Eggert <address@hidden>
* getdate.y (date): Also accept dates like May-23-2003; suggestion
from Karl Berry, implemented by Jim Meyering.
Index: getdate.y
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getdate.y,v
retrieving revision 1.77
retrieving revision 1.78
diff -p -u -r1.77 -r1.78
--- getdate.y 10 Jan 2003 21:06:49 -0000 1.77
+++ getdate.y 5 Aug 2003 05:14:20 -0000 1.78
@@ -321,6 +321,14 @@ date:
PC.year.value = -$3.value;
PC.year.digits = $3.digits;
}
+ | tMONTH tSNUMBER tSNUMBER
+ {
+ /* e.g. JUN-17-1992. */
+ PC.month = $1;
+ PC.day = -$2.value;
+ PC.year.value = -$3.value;
+ PC.year.digits = $3.digits;
+ }
| tMONTH tUNUMBER
{
PC.month = $1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] getdate.y merge from coreutils,
Paul Eggert <=