Bug #60723 [Com]: error_log error time has changed to UTC ignoring default timezo

From: Date: Wed, 06 Jun 2012 05:03:35 +0000
Subject: Bug #60723 [Com]: error_log error time has changed to UTC ignoring default timezo
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-171064@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60723&edit=1

 ID:                 60723
 Comment by:         ramsy at ramix dot jp
 Reported by:        olemarkus at gentoo dot org
 Summary:            error_log error time has changed to UTC ignoring
                     default timezo
 Status:             Assigned
 Type:               Bug
 Package:            Date/time related
 Operating System:   Gentoo Linux
 PHP Version:        5.3.9
 Assigned To:        derick
 Block user comment: N
 Private report:     N

 New Comment:

The merit which makes this message UTC fixation is not known. 
How about changing in this way? 

---- in main/main.c
-error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, 0 TSRMLS_CC);
+error_time_str = php_format_date("d-M-Y H:i:s T", 13, error_time, 1 TSRMLS_CC);
----

---- output(date.timezone='Asia/Tokyo')
[06-Jun-2012 13:54:12 JST] foo
----


Previous Comments:
------------------------------------------------------------------------
[2012-05-17 13:12:13] gyouja at pilgrims dot ru

Is there any progress with solution for this bug?

------------------------------------------------------------------------
[2012-04-19 22:17:22] tao dot li1 at renren-inc dot com

Is there any path? PHP 5.3.10

------------------------------------------------------------------------
[2012-04-12 14:16:18] reggie at busicast dot com

Same:

PHP 5.3.10 with Suhosin-Patch (cli) (built: Mar 14 2012 11:01:12) (DEBUG)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator

------------------------------------------------------------------------
[2012-04-04 09:30:27] valinurovam at gmail dot com

I have same problem

php -v
PHP 5.3.10 (cli) (built: Feb  4 2012 07:36:51)

CentOS release 6.2 (Final)

------------------------------------------------------------------------
[2012-03-29 05:34:48] sevencat at gmail dot com

Same. PHP 5.3.10 CentOS 5

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=60723


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60723&edit=1


Thread (39 messages)

« previous php.bugs (#171064) next »