cvs: php-src /ext/standard parsedate.y
| From: | Jani Taskinen | Date: | Wed, 10 Dec 2003 14:08:08 +0000 |
| Subject: | cvs: php-src /ext/standard parsedate.y | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25113@lists.php.net to get a copy of this message | ||
sniper Wed Dec 10 09:08:08 2003 EDT
Modified files:
/php-src/ext/standard parsedate.y
Log:
Fixed bug #26565 (strtotime("this month") resolving to the wrong month)
Index: php-src/ext/standard/parsedate.y
diff -u php-src/ext/standard/parsedate.y:1.49 php-src/ext/standard/parsedate.y:1.50
--- php-src/ext/standard/parsedate.y:1.49 Mon Dec 8 17:22:57 2003
+++ php-src/ext/standard/parsedate.y Wed Dec 10 09:08:06 2003
@@ -8,7 +8,7 @@
** This code is in the public domain and has no copyright.
*/
-/* $Id: parsedate.y,v 1.49 2003/12/08 22:22:57 hholzgra Exp $ */
+/* $Id: parsedate.y,v 1.50 2003/12/10 14:08:06 sniper Exp $ */
#include "php.h"
@@ -568,7 +568,7 @@
{ "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 }, */