#649 closed enhancement (worksforme)
Add Variable for ISO Time
Reported by: | Igal Sapir | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | nginx-core | Version: | 1.7.x |
Keywords: | Cc: | ||
uname -a: | 'uname' is not recognized as an internal or external command (on Windows) | ||
nginx -V: | 1.7.6 |
Description
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.
Thank you
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 by , 10 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.
Thank you.
Note:
See TracTickets
for help on using tickets.
ISO 8601 official page: http://www.iso.org/iso/home/standards/iso8601.htm
ISO 8601 on Wikipedia: http://en.wikipedia.org/wiki/ISO_8601