#14473 [Opn->Csd]: strtotime wont parse date
| From: | iliaa@php.net | Date: | Sun, 17 Aug 2003 21:44:27 +0000 |
| Subject: | #14473 [Opn->Csd]: strtotime wont parse date | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46073@lists.php.net to get a copy of this message | ||
ID: 14473
Updated by: iliaa@php.net
Reported By: lindsay dot marshall at ncl dot ac dot uk
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Redhat 7.2
PHP Version: 4.1.0
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, 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/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2001-12-12 18:46:11] derick@php.net
From the manual:
strtotime -- Parse about any English textual datetime description into
a UNIX timestamp
please note it says any, not all.
Moving this to a feature request.
Derick
------------------------------------------------------------------------
[2001-12-12 18:36:30] lindsay dot marshall at ncl dot ac dot uk
strtotime('12th December 2001')
returns -1
The 'th' after the number causes the problem, but this is a perfectly
acceptable date representation and should be recognised I believe.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14473&edit=1