]> granicus.if.org Git - php/commitdiff
Fix strtotime() "next" keyword handling.
authorRasmus Lerdorf <rasmus@php.net>
Tue, 30 Jul 2002 18:42:19 +0000 (18:42 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Tue, 30 Jul 2002 18:42:19 +0000 (18:42 +0000)
NEWS
ext/standard/parsedate.y

diff --git a/NEWS b/NEWS
index a9b7077caad3e1032e16ad807ef8d4c53f08e895..1fe42770715ee8746e3c95b35434f9d50102ea53 100644 (file)
--- 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)
index 7112b611b76cf83af2ad26d9c8950442ec167e07..54b6c9d4326e3af039e96de818d5c628bc4b87e9 100644 (file)
@@ -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 },