derick Fri May 20 07:13:14 2005 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/standard parsedate.y
Log:
- Fixed bug #33013: "next month" was done wrong.
http://cvs.php.net/diff.php/php-src/ext/standard/parsedate.y?r1=1.34.2.7&r2=1.34.2.8&ty=u
Index: php-src/ext/standard/parsedate.y
diff -u php-src/ext/standard/parsedate.y:1.34.2.7
php-src/ext/standard/parsedate.y:1.34.2.8
--- php-src/ext/standard/parsedate.y:1.34.2.7 Thu Apr 8 15:21:46 2004
+++ php-src/ext/standard/parsedate.y Fri May 20 07:13:14 2005
@@ -8,7 +8,7 @@
** This code is in the public domain and has no copyright.
*/
-/* $Id: parsedate.y,v 1.34.2.7 2004/04/08 19:21:46 derick Exp $ */
+/* $Id: parsedate.y,v 1.34.2.8 2005/05/20 11:13:14 derick Exp $ */
#include "php.h"
@@ -546,7 +546,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