]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/loggers/mod_log_config.c (log_request_time): Log
authorJoe Orton <jorton@apache.org>
Wed, 5 Nov 2003 17:16:00 +0000 (17:16 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 5 Nov 2003 17:16:00 +0000 (17:16 +0000)
the minutes component of the timezone correctly.

PR: 23642
Submitted by: Hong-Gunn Chew <hgbug@gunnet.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101703 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_config.c

index 414038397aed7f754da1a69d68da58138dfd4dd6..625df15a2a004e13d104b88b4fd76b83ec3d9b7a 100644 (file)
@@ -570,7 +570,7 @@ static const char *log_request_time(request_rec *r, char *a)
                          "[%02d/%s/%d:%02d:%02d:%02d %c%.2d%.2d]",
                          xt.tm_mday, apr_month_snames[xt.tm_mon],
                          xt.tm_year+1900, xt.tm_hour, xt.tm_min, xt.tm_sec,
-                         sign, timz / (60*60), timz % (60*60));
+                         sign, timz / (60*60), (timz % (60*60)) / 60);
             cached_time->t_validate = t_seconds;
             memcpy(&(request_time_cache[i]), cached_time,
                    sizeof(*cached_time));