# HG changeset patch # User Igor Sysoev # Date 1266587591 0 # Node ID 04966b3122ab9a681100d9f1b0d9a3a3bda55b2b # Parent 7b68809fe8b12b5d165206a39bb5a5dce1c0a843 SSI %s timefmt has no timezone offset diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c --- 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 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; }