sniper Wed Dec 10 09:09:46 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard parsedate.y /php-src NEWS Log: MFH: Fixed bug #26565 (strtotime("this month") resolving to the wrong month) Index: php-src/ext/standard/parsedate.y diff -u php-src/ext/standard/parsedate.y:1.34.2.4 php-src/ext/standard/parsedate.y:1.34.2.5 --- php-src/ext/standard/parsedate.y:1.34.2.4 Wed Nov 19 11:22:10 2003 +++ php-src/ext/standard/parsedate.y Wed Dec 10 09:09:42 2003 @@ -8,7 +8,7 @@ ** This code is in the public domain and has no copyright. */ -/* $Id: parsedate.y,v 1.34.2.4 2003/11/19 16:22:10 hholzgra Exp $ */ +/* $Id: parsedate.y,v 1.34.2.5 2003/12/10 14:09:42 sniper Exp $ */ #include "php.h" @@ -513,7 +513,7 @@ { "today", tDAY_UNIT, 0 }, { "now", tDAY_UNIT, 0 }, { "last", tUNUMBER, -1 }, - { "this", tMINUTE_UNIT, 0 }, + { "this", tUNUMBER, 0 }, { "next", tUNUMBER, 2 }, { "first", tUNUMBER, 1 }, /* { "second", tUNUMBER, 2 }, */ Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.495 php-src/NEWS:1.1247.2.496 --- php-src/NEWS:1.1247.2.495 Tue Dec 9 15:33:21 2003 +++ php-src/NEWS Wed Dec 10 09:09:44 2003 @@ -5,6 +5,8 @@ (Jani) - Fixed header handler in NSAPI SAPI module (header->replace was ignored, send_default_content_type now sends value from php.ini). (Uwe Schindler) +- Fixed bug #26565 (strtotime("this month") resolving to the wrong month). + (Jani) - Fixed bug #26564 (ncurses5 has headers in PREFIX/include/ncurses/). (Jani) - Fixed bug #26548 (ext/session: Malformed HTTP dates headers). (Derick) - Fixed bug #26531 (ext/domxml: get_elements_by_tag_name() wildcard fails).
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php