summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-05-20 11:13:14 +0000
committerDerick Rethans <derick@php.net>2005-05-20 11:13:14 +0000
commit379c4af44aa6456fbdbc69dba3ead166ba7ff67d (patch)
treee6439f0fa18d2432ef31bb4c90445e91c72ad04b
parente5f04e5d2f953cc2b9280bca1f86739e5d236496 (diff)
downloadphp-git-379c4af44aa6456fbdbc69dba3ead166ba7ff67d.tar.gz
- Fixed bug #33013: "next month" was done wrong.
-rw-r--r--ext/standard/parsedate.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y
index 20b22796f4..855c2cbbcf 100644
--- a/ext/standard/parsedate.y
+++ b/ext/standard/parsedate.y
@@ -546,7 +546,7 @@ static TABLE const OtherTable[] = {
{ "now", tDAY_UNIT, 0 },
{ "last", tUNUMBER, -1 },
{ "this", tUNUMBER, 0 },
- { "next", tUNUMBER, 2 },
+ { "next", tUNUMBER, 1 },
{ "first", tUNUMBER, 1 },
/* { "second", tUNUMBER, 2 }, */
{ "third", tUNUMBER, 3 },