Module Name: src
Committed By: christos
Date: Thu May 2 14:19:56 UTC 2024
Modified Files:
src/lib/libutil: parsedate.y
Log Message:
revert previous.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/lib/libutil/parsedate.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libutil/parsedate.y
diff -u src/lib/libutil/parsedate.y:1.39 src/lib/libutil/parsedate.y:1.40
--- src/lib/libutil/parsedate.y:1.39 Wed May 1 15:59:07 2024
+++ src/lib/libutil/parsedate.y Thu May 2 10:19:56 2024
@@ -12,7 +12,7 @@
#include <sys/cdefs.h>
#ifdef __RCSID
-__RCSID("$NetBSD: parsedate.y,v 1.39 2024/05/01 19:59:07 christos Exp $");
+__RCSID("$NetBSD: parsedate.y,v 1.40 2024/05/02 14:19:56 christos Exp $");
#endif
#include <stdio.h>
@@ -546,7 +546,7 @@ static const TABLE OtherTable[] = {
{ "now", tMINUTE_UNIT, 0 },
{ "last", tUNUMBER, -1 },
{ "this", tMINUTE_UNIT, 0 },
- { "next", tUNUMBER, 1 },
+ { "next", tUNUMBER, 2 }, /* it is more useful this way */
{ "first", tUNUMBER, 1 },
{ "one", tUNUMBER, 1 },
/* { "second", tUNUMBER, 2 }, */