From a11234b7c4d2d40faa2d42124dc1e17d37c79059 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 19 Feb 2010 13:53:11 +0000 Subject: [PATCH] SSI %s timefmt has no timezone offset --- src/http/modules/ngx_http_ssi_filter_module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index d95b297ba..6dcce3f31 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -2615,8 +2615,7 @@ ngx_http_ssi_date_gmt_local_variable(ngx_http_request_t *r, return NGX_ERROR; } - v->len = ngx_sprintf(v->data, "%T", tp->sec + (gmt ? 0 : tp->gmtoff)) - - v->data; + v->len = ngx_sprintf(v->data, "%T", tp->sec) - v->data; return NGX_OK; }