From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to