Bug #13731: strtotime does not see things like '7th'

From: Date: Thu, 18 Oct 2001 09:44:02 +0000
Subject: Bug #13731: strtotime does not see things like '7th'
Groups: php.dev 
Request: Send a blank email to php-dev+get-68207@lists.php.net to get a copy of this message
From: sbalk@dds.nl Operating system: linux 2.4.10 PHP version: 4.0.5 PHP Bug Type: Feature/Change Request Bug description: strtotime does not see things like '7th' I was doing 'echo strtotime("October 12th 2001 - 02:52:51 AM");' and unfortunately, it returned '-1'. I expected a UNIX timestamp. After some playing I found that the 'th' caused the trouble. Is strtotime unable to parse things like 'rd','nd','st' or 'th'? Is it a bug or a non-feature? I am using the php version which comes with debian woody. -- Edit bug report at: http://bugs.php.net/?id=13731&edit=1

« previous php.dev (#68207) next »