]> granicus.if.org Git - php/commitdiff
- Fixed bug #33013: "next month" was done wrong.
authorDerick Rethans <derick@php.net>
Fri, 20 May 2005 11:13:14 +0000 (11:13 +0000)
committerDerick Rethans <derick@php.net>
Fri, 20 May 2005 11:13:14 +0000 (11:13 +0000)
ext/standard/parsedate.y

index 20b22796f4f618c266c53a05a5cff60b96cbd907..855c2cbbcfdc15fa683de749779e1e8cb75b4853 100644 (file)
@@ -546,7 +546,7 @@ static TABLE const OtherTable[] = {
     { "now",           tDAY_UNIT,      0 },
     { "last",          tUNUMBER,       -1 },
     { "this",          tUNUMBER,       0 },
-    { "next",          tUNUMBER,       2 },
+    { "next",          tUNUMBER,       1 },
     { "first",         tUNUMBER,       1 },
 /*  { "second",                tUNUMBER,       2 }, */
     { "third",         tUNUMBER,       3 },