mirror of
https://github.com/nginx/nginx.git
synced 2025-08-02 03:56:13 +08: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;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
v->len = ngx_sprintf(v->data, "%T", tp->sec + (gmt ? 0 : tp->gmtoff))
|
v->len = ngx_sprintf(v->data, "%T", tp->sec) - v->data;
|
||||||
- v->data;
|
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user