Opened 9 years ago
Closed 9 years ago
Last modified 9 years ago
#649 closed enhancement (worksforme)
Add Variable for ISO Time
|Reported by:||Igal Sapir||Owned by:|
|uname -a:||'uname' is not recognized as an internal or external command (on Windows)|
It is very useful to have the date/time in sortable format, i.e. yyyy-MM-dd'T'HH:mm:ssZ
This is useful for both logging and interaction with other systems. Currently the only way to achieve that is by using $local_time with 4 separate map() instructions, which is very inefficient.
The current $local_time, which is in "Common Log Format" is extremely old and obsolete IMO.
This should be very simple to implement for nginx and will add a lot of productivity for many users who need to interact with other systems.
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
|Status:||new → closed|
comment:3 by , 9 years ago
My apologies. I was not aware of that variable and for some reason I missed it when was searching for date/time variables.
ISO 8601 official page: http://www.iso.org/iso/home/standards/iso8601.htm
ISO 8601 on Wikipedia: http://en.wikipedia.org/wiki/ISO_8601