(OtherTable): Interpret `next' as 1 (not 2) units.
authorJim Meyering <jim@meyering.net>
Sun, 1 Jun 1997 17:15:51 +0000 (17:15 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 1 Jun 1997 17:15:51 +0000 (17:15 +0000)
Patch from Richard Sharman <rsharman@magmacom.com>.

lib/getdate.y

index 6c920b0fb0b8923e315a21485b53212dbd9122d1..44f2e19c28aaf30d485f87ac3a21a8b0a17157cf 100644 (file)
@@ -493,7 +493,7 @@ static TABLE const OtherTable[] = {
     { "now",           tMINUTE_UNIT,   0 },
     { "last",          tUNUMBER,       -1 },
     { "this",          tMINUTE_UNIT,   0 },
-    { "next",          tUNUMBER,       2 },
+    { "next",          tUNUMBER,       1 },
     { "first",         tUNUMBER,       1 },
 /*  { "second",                tUNUMBER,       2 }, */
     { "third",         tUNUMBER,       3 },