Opened 8 years ago

Closed 8 years ago

#1111 closed enhancement (wontfix)

$date_gmt date/time format obsolete

Reported by: mayhem30@… Owned by:
Priority: minor Milestone:
Component: other Version: 1.10.x
Keywords: Cc:
uname -a: N/A
nginx -V: N/A

Description

The $date_gmt produces a date/time format (RFC 850 HTTP/1.0) which is now obsolete.

The new preferred method is RFC 1123.

Old = Monday, 17-Oct-2016 20:49:03 UTC
New = Mon, 17 Oct 2017 20:49:03 GMT

Updating the $date_gmt variable to the new method will also allow us to set the "last_modified" header with the correct date/time format.

Change History (1)

comment:1 by Maxim Dounin, 8 years ago

Resolution: wontfix
Status: newclosed

The $date_gmt variable is a variable provided by the SSI module, and it's format can be configured using the config SSI command. The default is set to be compatible with the original SSI implementation, and it doesn't look like a good idea to change it for completely unrelated reasons.

Note: See TracTickets for help on using tickets.