Bug #16517: strtotime no longer converts output of UNIX command 'date'
| From: | joseph dot p dot weigel at aexp dot com | Date: | Tue, 09 Apr 2002 17:42:33 +0000 |
| Subject: | Bug #16517: strtotime no longer converts output of UNIX command 'date' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-4454@lists.php.net to get a copy of this message | ||
From: joseph.p.weigel@aexp.com
Operating system: Solaris
PHP version: 4.1.2
PHP Bug Type: Date/time related
Bug description: strtotime no longer converts output of UNIX command 'date'
-------------------- Test Script --------------------
$testTS = 'Tue Apr 9 11:37:21 MDT 2002'; # Output of UNIX command 'date'
print strtotime ($testTS);
-------------------- Yields --------------------
-1
-------------------- PHP Info --------------------
PHP Version
4.1.2
System
SunOS slc-sun4 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-Enterprise
Build Date
Apr 2 2002
Configure Command
'configure' '--with-jpeg-dir=/usr/local' '--with-gd=/usr/local'
'--with-ibm-db2=/home/slcd0005/sqllib'
'--with-apache=/home/tc2876a/stage/apache/apache_1.3.12'
Server API
Apache
Virtual Directory Support
disabled
Configuration File (php.ini) Path
/usr/local/lib/php.ini
ZEND_DEBUG
disabled
Thread Safety
disabled
-------------------- Notes --------------------
Worked in 4.0.2
--
Edit bug report at http://bugs.php.net/?id=16517&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16517&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16517&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16517&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16517&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16517&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16517&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16517&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16517&r=submittedtwice