summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--ext/standard/parsedate.y2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a9b7077caa..1fe4277071 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
? ? ??? 2002, Version 4.3.0
+- Bring strtotime() "next" keyword handling in line with documentation and
+ its glibc cousin. (Rasmus)
- Fixed str_rot13() to not mangle source string. (Rasmus)
- Fixed imap_get_quota() to work with multiple returned resources as per
the RFC 2087 and bug #14673. (kalowsky, Sander Steffann)
diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y
index 7112b611b7..54b6c9d432 100644
--- a/ext/standard/parsedate.y
+++ b/ext/standard/parsedate.y
@@ -520,7 +520,7 @@ static TABLE const OtherTable[] = {
{ "now", tDAY_UNIT, 0 },
{ "last", tUNUMBER, -1 },
{ "this", tMINUTE_UNIT, 0 },
- { "next", tUNUMBER, 1 },
+ { "next", tUNUMBER, 2 },
{ "first", tUNUMBER, 1 },
/* { "second", tUNUMBER, 2 }, */
{ "third", tUNUMBER, 3 },