Bug 23642

Summary: Incorrect timezone for XX:30 in logs
Product: Apache httpd-2 Reporter: Hong-Gunn Chew <hgbug>
Component: mod_log_configAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: CLOSED FIXED    
Severity: normal Keywords: PatchAvailable
Priority: P3    
Version: 2.0.47   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Hong-Gunn Chew 2003-10-07 05:27:07 UTC
When the timezone is +/- ?.5, the timezone would be logged as +/-XX1800, instead
of +/-XX30.  For example, Adelaide is +9.5, but it is logged as +091800 instead
of +0930.

This can be corrected by correcting modules/loggers/mod_log_config.c (2.0.47):
573c573
<                          sign, timz / (60*60), timz % (60*60));
---
>                          sign, timz / (60*60), (timz % (60*60))/60);

Thanks,
HG
Comment 1 Jeff Trawick 2003-11-21 17:36:38 UTC
I'm going through the bug db to make sure patches are findable.  Please see 
http://httpd.apache.org/dev/patches.html
Comment 2 Jeff Trawick 2003-11-21 18:36:16 UTC
patch is already committed to 2.1-dev and will likely be in the next 2.0.x release

thanks!