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

index b5eec08ea518efec2075dd1f19407ac727de1eb4..883df33dd0798159def01236ea87b82a3e2743c0 100644 (file)
@@ -635,7 +635,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 },