ID:               33578
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to