#18769 [NEW]: strtotime('00:01am'); returns -1 instead of timestamp

From: Date: Wed, 07 Aug 2002 08:01:10 +0000
Subject: #18769 [NEW]: strtotime('00:01am'); returns -1 instead of timestamp
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16122@lists.php.net to get a copy of this message
From: peka@yashuu.de Operating system: Tested on Windows2000 / Unix PHP version: 4.2.2 PHP Bug Type: Date/time related Bug description: strtotime('00:01am'); returns -1 instead of timestamp The PHP code <? echo strtotime('00:01am'); ?> produces -1 as return instead of a correct timestamp I tested on W2k/Apache/PHP 4.2.2, afterwards uploading it to my webspace provider who uses Unix. The bug is reproduceable there, too. -- Edit bug report at http://bugs.php.net/?id=18769&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18769&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18769&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18769&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18769&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18769&r=support Expected behavior: http://bugs.php.net/fix.php?id=18769&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18769&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18769&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18769&r=globals

« previous php.bugs (#16122) next »