mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-19 02:10:57 +02:00
Also accept dates of the form May-23-2003.
This commit is contained in:
@@ -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