ID:               48424
 Updated by:       [email protected]
 Reported By:      php at qrs dot oib dot com
-Status:           Open
+Status:           Verified
 Bug Type:         Date/time related
-Operating System: Windows XP, Linux
+Operating System: *
-PHP Version:      5.2.9
+PHP Version:      5.*, 6CVS (2009-05-29)


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

[2009-05-29 04:36:35] php at qrs dot oib dot com

Description:
------------
strtotime changes the year to the current year with a date formatted
like "17 July, 2004".

Reproduce code:
---------------
print strftime("%d %B, %Y", strtotime("July 17, 2004"));
print strftime("%d %B, %Y", strtotime("17 July, 2004")); // <---
print strftime("%d %B, %Y", strtotime("17 July 2004"));

Expected result:
----------------
17 July, 2004
17 July, 2004
17 July, 2004

Actual result:
--------------
17 July, 2004
17 July, 2009
17 July, 2004


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


-- 
Edit this bug report at http://bugs.php.net/?id=48424&edit=1

Reply via email to