#33578 [Opn->Asn]: Problem with strtotime method

From: Date: Tue, 05 Jul 2005 21:22:03 +0000
Subject: #33578 [Opn->Asn]: Problem with strtotime method
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-81428@lists.php.net to get a copy of this message
ID: 33578 Updated by: derick@php.net Reported By: jeremy at techtrav dot com -Status: Open +Status: Assigned Bug Type: Date/time related Operating System: Windows XP Apache 2 PHP Version: 5.1.0b2 -Assigned To: +Assigned To: derick New Comment: Indeed it does not parse "11 Oct" anymore, I'll fix this. Previous Comments: ------------------------------------------------------------------------ [2005-07-05 23:18:22] jeremy at techtrav dot com Description: ------------ I just updated from 5.0.4 to 5.1.0b2 to test on my windows box. strtotime seems to be very messed up returning compeletely wrong dates. Reproduce code: --------------- <? echo date('m/d/Y', strtotime('Oct 11')); echo '<br>'; echo date('m/d/Y', strtotime('11 Oct')); echo '<br>'; echo date('m/d/Y', strtotime('11 Oct 2005')); ?> Expected result: ---------------- 10/11/2005 10/11/2005 10/11/2005 Actual result: -------------- 10/10/2005 07/05/2005 10/10/2005 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33578&edit=1

« previous php.bugs (#81428) next »