diff options
author | foobar <sniper@php.net> | 2003-12-10 14:08:06 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-12-10 14:08:06 +0000 |
commit | 6f4cc5c1c93681e18927def06c04c33440626cab (patch) | |
tree | 60e9227274d77097feff8278eb719b320f8f3bd6 | |
parent | 310d6c567a4d4f55f9ef9d2112aaf5887eaa4404 (diff) | |
download | php-git-6f4cc5c1c93681e18927def06c04c33440626cab.tar.gz |
Fixed bug #26565 (strtotime("this month") resolving to the wrong month)
-rw-r--r-- | ext/standard/parsedate.y | 2 |
1 files changed, 1 insertions, 1 deletions
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 }, */ |