derick Fri May 20 07:14:01 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard parsedate.y
Log:
- MFH: Fixed bug #33013: "next month" was handled wrong.
http://cvs.php.net/diff.php/php-src/ext/standard/parsedate.y?r1=1.56.2.1&r2=1.56.2.2&ty=u
Index: php-src/ext/standard/parsedate.y
diff -u php-src/ext/standard/parsedate.y:1.56.2.1
php-src/ext/standard/parsedate.y:1.56.2.2
--- php-src/ext/standard/parsedate.y:1.56.2.1 Mon Nov 15 11:30:46 2004
+++ php-src/ext/standard/parsedate.y Fri May 20 07:14:01 2005
@@ -8,7 +8,7 @@
** This code is in the public domain and has no copyright.
*/
-/* $Id: parsedate.y,v 1.56.2.1 2004/11/15 16:30:46 derick Exp $ */
+/* $Id: parsedate.y,v 1.56.2.2 2005/05/20 11:14:01 derick Exp $ */
#include "php.h"
@@ -635,7 +635,7 @@
{ "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 },
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php