cvs: php4 / NEWS /ext/standard parsedate.y
| From: | Rasmus Lerdorf | Date: | Tue, 30 Jul 2002 18:42:19 +0000 |
| Subject: | cvs: php4 / NEWS /ext/standard parsedate.y | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13052@lists.php.net to get a copy of this message | ||
rasmus Tue Jul 30 14:42:19 2002 EDT
Modified files:
/php4 NEWS
/php4/ext/standard parsedate.y
Log:
Fix strtotime() "next" keyword handling.
Index: php4/NEWS
diff -u php4/NEWS:1.1064 php4/NEWS:1.1065
--- php4/NEWS:1.1064 Tue Jul 30 13:39:33 2002
+++ php4/NEWS Tue Jul 30 14:42:18 2002
@@ -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: php4/ext/standard/parsedate.y
diff -u php4/ext/standard/parsedate.y:1.30 php4/ext/standard/parsedate.y:1.31
--- php4/ext/standard/parsedate.y:1.30 Thu Jan 24 17:24:58 2002
+++ php4/ext/standard/parsedate.y Tue Jul 30 14:42:19 2002
@@ -520,7 +520,7 @@
{ "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 },