#13142 [Com]: strtotime() returns -1 for "M d H:i:s Y" format

From: Date: Fri, 11 Oct 2002 14:13:56 +0000
Subject: #13142 [Com]: strtotime() returns -1 for "M d H:i:s Y" format
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22161@lists.php.net to get a copy of this message
ID: 13142 Comment by: godin.gilles@ic.gc.ca Reported By: jeannielu@hotmail.com Status: Verified Bug Type: Date/time related Operating System: Linux PHP Version: 4.3.0-dev New Comment: I am using PHP 4.2.3 under Windows 2000 where date("D M d H:i:s T Y") produces... Fri Oct 11 09:52:47 Eastern Standard Time 2002 instead of... Fri Oct 11 09:52:47 EDT 2002 and, strtotime() of either format produced above returns -1 Previous Comments: ------------------------------------------------------------------------ [2002-07-04 13:22:32] eru@php.net Verified during the Bughunt ------------------------------------------------------------------------ [2001-09-04 20:15:24] sniper@php.net Uh..reproduced I meant. :) ------------------------------------------------------------------------ [2001-09-04 20:15:10] sniper@php.net Confirmed with latest CVS. ------------------------------------------------------------------------ [2001-09-04 16:47:44] jeannielu@hotmail.com strtotime("Sep 04 16:39:45 2001") returns -1 with PHP 4.0.6 this was working with PHP 4.0.3 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13142&edit=1

« previous php.bugs (#22161) next »