]> granicus.if.org Git - php/commitdiff
Fixed bug #26565 (strtotime("this month") resolving to the wrong month)
authorfoobar <sniper@php.net>
Wed, 10 Dec 2003 14:08:06 +0000 (14:08 +0000)
committerfoobar <sniper@php.net>
Wed, 10 Dec 2003 14:08:06 +0000 (14:08 +0000)
ext/standard/parsedate.y

index 21d6fcf7d57a414147371b854f1aba6ffadd3a98..0f43fb4d36985d6d571c6f810b5bf012f6fb74f1 100644 (file)
@@ -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 }, */