summaryrefslogtreecommitdiff
path: root/lib/getdate.y
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-12-23 00:08:23 +0000
committerJim Meyering <jim@meyering.net>1993-12-23 00:08:23 +0000
commitd7daf7444e175ba8ceb752b6ee09a35ff72e8920 (patch)
tree95266d98b87626a408ad04da246c593bd7e54910 /lib/getdate.y
parent797585985fffbf0f6e6ef09113051d2ebc976193 (diff)
downloadcoreutils-d7daf7444e175ba8ceb752b6ee09a35ff72e8920.tar.xz
.
Diffstat (limited to 'lib/getdate.y')
-rw-r--r--lib/getdate.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index ff0aa66a3..09340da8b 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -315,6 +315,12 @@ date : tUNUMBER '/' tUNUMBER {
yyMonth = -$2;
yyDay = -$3;
}
+ | tUNUMBER tMONTH tSNUMBER {
+ /* e.g. 17-JUN-1992. */
+ yyDay = $1;
+ yyMonth = $2;
+ yyYear = -$3;
+ }
| tMONTH tUNUMBER {
yyMonth = $1;
yyDay = $2;