#34033 [Opn->Csd]: strtotime doesn't parse "Sept."
| From: | sniper@php.net | Date: | Mon, 08 Aug 2005 06:58:08 +0000 |
| Subject: | #34033 [Opn->Csd]: strtotime doesn't parse "Sept." | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83166@lists.php.net to get a copy of this message | ||
ID: 34033
Updated by: sniper@php.net
Reported By: evanchaney at mac dot com
-Status: Open
+Status: Closed
Bug Type: Date/time related
Operating System: Mac OS X 10.4.2
PHP Version: 5.0.4
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-08-08 08:37:44] evanchaney at mac dot com
Description:
------------
The strtotime() function understands the month of September
when it is written "Sep.", "Sep" or "Sept", but not "Sept.".
Other months like October can be written with a period after
the month's abbreviation and parse just fine.
Reproduce code:
---------------
echo(strtotime('24 Sept. 72'));
Expected result:
----------------
86166000
Actual result:
--------------
-1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34033&edit=1