#34292 [Fbk->Opn]: Timezone setting

From: Date: Mon, 29 Aug 2005 12:41:56 +0000
Subject: #34292 [Fbk->Opn]: Timezone setting
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84127@lists.php.net to get a copy of this message
ID: 34292 User updated by: Admin at relax-info dot com Reported By: Admin at relax-info dot com -Status: Feedback +Status: Open Bug Type: Date/time related Operating System: Windows XP SP2 PHP Version: 5.1.0RC1 New Comment: In configuration a file(php.ini-dist|php.ini-recommended) there is no configuration option - date.timezone therefore I established nothing. It is impossible to take parameter timezone from a OS? Previous Comments: ------------------------------------------------------------------------ [2005-08-29 13:23:42] sniper@php.net Have you set date.timezone php.ini setting correctly? (what is it?) ------------------------------------------------------------------------ [2005-08-29 00:55:24] Admin at relax-info dot com Sorry, Expected result: ---------------- Sun, 28 Aug 2005 01:44:05 +0300 ------------------------------------------------------------------------ [2005-08-29 00:51:18] Admin at relax-info dot com Description: ------------ PHP don't give proper weigh Timezone setting of my machine. Difference to Greenwich time (GMT) in hours = 0 Reproduce code: --------------- <?php $timestamp = 1125267228; print_r(date('r', $timestamp)); ?> Expected result: ---------------- Sun, 28 Aug 2005 01:44:05 +0200 Actual result: -------------- Sun, 28 Aug 2005 22:44:05 +0000 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34292&edit=1

« previous php.bugs (#84127) next »