Bug 23642 - Incorrect timezone for XX:30 in logs
Summary: Incorrect timezone for XX:30 in logs
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_log_config (show other bugs)
Version: 2.0.47
Hardware: All All
: P3 normal with 2 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2003-10-07 05:27 UTC by Hong-Gunn Chew
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!