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

 ID:                 60723
 Comment by:         php_bugs at hotmail dot com
 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:

WTF? How the hell do you let a timestamp in the log crash your software?

EVERY other software out there written within the past 40 years can handle 
this, but the PHP dev team is saying they don't know how to do it without 
crashing.


Previous Comments:
------------------------------------------------------------------------
[2012-07-13 10:15:55] akempiak at odiso dot com

Same, PHP 5.3.14 Debian Squeeze

------------------------------------------------------------------------
[2012-07-08 02:39:39] likekidz at 126 dot com

same problem in PHP 5.3.14 and 5.4.4
my OS is Windows XP

------------------------------------------------------------------------
[2012-06-14 00:35:11] kris dot glynn at virginaustralia dot com

Present also in PHP 5.3.13


CentOS release 5.7 (Final)
Linux blah 2.6.18-274.18.1.el5PAE #1 SMP Thu Feb 9 13:25:50 EST 2012 i686 i686 
i386 GNU/Linux


PHP 5.3.13 (cli) (built: Jun 13 2012 14:53:50) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

------------------------------------------------------------------------
[2012-06-06 05:03:35] ramsy at ramix dot jp

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
----

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

Is there any progress with solution for this bug?

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


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

Reply via email to