php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #61013
Patch LocalTime_flag_fix_for_error_reporting revision 2012-02-08 21:04 UTC by carloschilazo at gmail dot com

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);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC