mirror of
https://github.com/nginx/nginx.git
synced 2025-01-21 05:43:10 -06:00
SSI %s timefmt has no timezone offset
This commit is contained in:
parent
bc55ea07c8
commit
a11234b7c4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user