comparison contrib/unicode2nginx/unicode-to-nginx.pl @ 5540:3a8e19528b30

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 28 Jan 2014 15:40:45 +0400
parents 63a820b0bc6c
children 8752257e883f
comparison
equal deleted inserted replaced
5539:c86dd32573c0 5540:3a8e19528b30