Bug #15815: date() shifting time
| From: | geoffrey at poulet dot org | Date: | Fri, 01 Mar 2002 17:05:57 +0000 |
| Subject: | Bug #15815: date() shifting time | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-1416@lists.php.net to get a copy of this message | ||
From: geoffrey@poulet.org
Operating system: FreeBSD 4.2
PHP version: 4.0.6
PHP Bug Type: Date/time related
Bug description: date() shifting time
Shifting time.
Sometimes the function date() return a bad time.
Below some examples:
server time= from date in shell
response time = from function date() in php.
Server time: 15:41:16
response time:00:41:16 (21 february)
Server time: 16:12:16
response time:01:12:16 (21 february)
Server time: 16:25:16
response time:01:25:16 (21 february)
Server time: 17:04:16
response time:02:04:16 (21 february)
Server time: 17:56:16
response time:02:56:16 (21 february)
Server time: 18:57:16
response time:03:57:16 (21 february)
More information:
System FreeBSD make2.plesk.ru 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov
20 13:02:55 GMT 2000
jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386
Build Date Oct 11 2001
Configure Command './configure' '--with-apxs=apxs'
'--prefix=/usr/home/kap/plesk/2.0/apache/../release/usr/local/psa/apache'
'i386--freebsd4.2' '--with-system-regex'
'--with-config-file-path=/usr/local/psa/apache/conf' '--disable-debug'
'--disable-pear' '--enable-sockets' '--enable-track-vars'
'--without-gd'
'--with-mysql=/usr/home/kap/plesk/2.0/apache/../release/dist/usr/local/psa/mysql'
'--with-iodbc=/usr/home/kap/plesk/2.0/apache/../release/lib/libiodbc'
'--with-imap=/usr/home/kap/plesk/2.0/apache/../release/lib/imap-cclient'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/psa/apache/conf/php.ini
ZEND_DEBUG disabled
Thread Safety disabled
Geoffrey.
--
Edit bug report at http://bugs.php.net/?id=15815&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15815&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15815&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15815&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15815&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15815&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15815&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15815&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15815&r=submittedtwice