ID:               28024
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lars at jvinformatik dot com
-Status:           Open
+Status:           Verified
 Bug Type:         Date/time related
 Operating System: Linux
-PHP Version:      4.3.6RC3
+PHP Version:      4CVS, 5CVS (2004-04-16)
 New Comment:

Indeed.




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

[2004-04-16 10:30:57] lars at jvinformatik dot com

Description:
------------
The new version of strtotime fails to parse some strings that worked in
previous versions.



strtotime("17:00 2004-01-01") used to return 1072972800 in PHP 4.2.0
but returns -1 in 4.3.6.



If the order of the string is reversed to "2004-01-01 17:00" it works
fine in 4.3.6 so it's really not that serious, but it probably will
break some old applications that use the incorrect order.



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


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

Reply via email to