diff options
Diffstat (limited to 'lib/getdate.y')
-rw-r--r-- | lib/getdate.y | 6 |
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; |