Bug #9948 Updated: possible bug in strtotime

From: Date: Tue, 17 Apr 2001 20:05:39 +0000
Subject: Bug #9948 Updated: possible bug in strtotime
Groups: php.dev 
Request: Send a blank email to php-dev+get-51821@lists.php.net to get a copy of this message
ID: 9948 Updated by: hholzgra Reported By: jaybinks@audiorealm.com 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@audiorealm.com 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

« previous php.dev (#51821) next »