From: foobar Date: Wed, 10 Dec 2003 14:08:06 +0000 (+0000) Subject: Fixed bug #26565 (strtotime("this month") resolving to the wrong month) X-Git-Tag: php-5.0.0b3RC1~148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f4cc5c1c93681e18927def06c04c33440626cab;p=php Fixed bug #26565 (strtotime("this month") resolving to the wrong month) --- diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y index 21d6fcf7d5..0f43fb4d36 100644 --- a/ext/standard/parsedate.y +++ b/ext/standard/parsedate.y @@ -568,7 +568,7 @@ static TABLE const OtherTable[] = { { "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 }, */