From: Derick Rethans Date: Fri, 20 May 2005 11:13:14 +0000 (+0000) Subject: - Fixed bug #33013: "next month" was done wrong. X-Git-Tag: php-4.4.0RC1~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=379c4af44aa6456fbdbc69dba3ead166ba7ff67d;p=php - Fixed bug #33013: "next month" was done wrong. --- diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y index 20b22796f4..855c2cbbcf 100644 --- a/ext/standard/parsedate.y +++ b/ext/standard/parsedate.y @@ -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 },