mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Also accept dates of the form May-23-2003.
This commit is contained in:
1 parent
3ceea0946b
commit
208b95e198
1 file changed
+8
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user