Patch LocalTime_flag_fix_for_error_reporting for Date/time related Bug #61013
Patch version 2012-02-08 21:04 UTC
Return to Bug #61013 |
Download this patch
Patch Revisions:
Developer: carloschilazo@gmail.com
Index: main.c
===================================================================
--- main.c (revision 323128)
+++ main.c (working copy)
@@ -627,7 +627,7 @@
char *error_time_str;
time(&error_time);
- 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 e", 13, error_time, 1 TSRMLS_CC);
len = spprintf(&tmp, 0, "[%s] %s%s", error_time_str, log_message, PHP_EOL);
#ifdef PHP_WIN32
php_flock(fd, 2);
|