aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-01-28 15:40:45 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-01-28 15:40:45 +0400
commit1631393f9427892f108d2c6549a568ee1e5ed6bc (patch)
treee98ea4cabe4b785e5ef87905ee109fc0d8339992 /src/http/ngx_http_request.c
parentd700bbefdb97f5d8f158265665b1808108eb50de (diff)
downloadnginx-1631393f9427892f108d2c6549a568ee1e5ed6bc.tar.gz
nginx-1631393f9427892f108d2c6549a568ee1e5ed6bc.zip
SSI: fixed $date_local and $date_gmt without SSI (ticket #230).
If there is no SSI context in a given request at a given time, the $date_local and $date_gmt variables used "%s" format, instead of "%A, %d-%b-%Y %H:%M:%S %Z" documented as the default and used if there is SSI module context and timefmt wasn't modified using the "config" SSI command. While use of these variables outside of the SSI evaluation isn't strictly valid, previous behaviour is certainly inconsistent, hence the fix.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions