sniper Wed Dec 10 09:08:08 2003 EDT Modified files: /php-src/ext/standard parsedate.y Log: 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.49 php-src/ext/standard/parsedate.y:1.50 --- php-src/ext/standard/parsedate.y:1.49 Mon Dec 8 17:22:57 2003 +++ php-src/ext/standard/parsedate.y Wed Dec 10 09:08:06 2003 @@ -8,7 +8,7 @@ ** This code is in the public domain and has no copyright. */ -/* $Id: parsedate.y,v 1.49 2003/12/08 22:22:57 hholzgra Exp $ */ +/* $Id: parsedate.y,v 1.50 2003/12/10 14:08:06 sniper Exp $ */ #include "php.h" @@ -568,7 +568,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 }, */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php