[PHP-DEV] Bug #9948 Updated: possible bug in strtotime From: hholzgra <email protected>
Date: 04/17/01

ID: 9948
Updated by: hholzgra
Reported By: jaybinks <email protected>
Old-Status: Open
Status: Closed
Bug Type: Date/time related
PHP Version: 4.0.4pl1
Assigned To:
Comments:

the unix date parsing code is not that clever

how should it treat 03/04/05, for example?

it will never be able to parse any possible
date format in the world or even be locale
aware for any possible date format in a
single country ...

Previous Comments:
---------------------------------------------------------------------------

[2001-03-23 01:17:32] jaybinks <email protected>
when providing the string "3/23/01 1:01:29 PM"
to strtotime it produces in-correct output

Im assuming you wish to make this function (as with all functions) as good as possible, so I guess that being able to convert from this format would be on the cards some times.

in Australia we generaly do dates the opposite to in the US. IE Month/Day/Year so support would be good .

thankyou

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9948&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>