httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: WWW Form Bug Report: "logging - possible incorrect timezone information" on OTHER:all
Date Wed, 04 Sep 1996 19:20:11 GMT

thanks for the info. I'll forward it to the developers list.

cheers.
rob.

nee@axp1.csie.ncu.edu.tw wrote:
>
>Submitter: nee@axp1.csie.ncu.edu.tw
>Operating system: OTHER:all, version: 
>Version of Apache Used: 1.1.1
>Extra Modules used: mod_log_common, mod_log_config
>URL exhibiting problem: 
>
>Symptoms:
>--
>While I am trying to find out the detail format
>of the request log, I found 
>
>in mod_log_config.c:
>    sprintf (tstr + strlen(tstr), "%c%02ld%02ld]",
>             sign, timz/3600, timz%3600);
>
>and in mod_log_common.c:
>    sprintf(tstr, " [%.2d/%s/%d:%.2d:%.2d:%.2d %c%02ld%02ld] \"", t->tm_mday,
>            month_snames[t->tm_mon], t->tm_year + 1900, t->tm_hour, t->tm_min,
>            t->tm_sec, sign, timz/3600, timz%3600);
>
>If the timz is second, timz/3600 will be hour, that is right,
>but what will the timz%3600 be?
>I think timz%3600 should be replaced by (timz%3600)/60. 
>
>When does it give incorrect timezone (or I should say 'where')?
>I found there are zones GMTOFF 3:30 or -10:30. The ':30' may lead to the symptoms. 
>However, I am not quite sure of the above because I live in a place
>with GMTOFF +0800, and I am not going to produce such symptom.
>
>Thank you for listening.
>
>Sze-Yao Ni
>
>--
>
>Backtrace:
>--
>
>--
>


-- 
Rob Hartill (robh@imdb.com)    
http://www.imdb.com/  ... why wait for a clear night to see the stars?.

Mime
View raw message