https://bz.apache.org/bugzilla/show_bug.cgi?id=57339

--- Comment #13 from Yann Ylavic <ylavic....@gmail.com> ---
(In reply to Michael Osipov from comment #12)
> Yann, there are actually several issues of you read my comments above. I
> hesitated to open more issues since there was no traction here.

So r1921259 changed the description of %{c}t to "The current time in ISO 8601
extended format (compact)", does it work for you?

As for the "T' separator is missing", wikipedia says "Earlier versions omitted
the T (representing time) in both formats", I think httpd is using such old
version, and the docs talk about ISO 8601 for the time format alone, not the
whole date string.

Anyway I think it's too late to change the existing %{cuz}t format, we could
add another another letter there to mean use ISO8601 / RFC3339 format for the
whole date but at this point it's probably clearer to have:
- %{rfc3339}t          => yyyy-mm-ddThh:mm:ss+hh:mm
- %{rfc3339_usec}t     => yyyy-mm-ddThh:mm:ss.uuuuuu+hh:mm
- %{rfc3339_utc}t      => yyyy-mm-ddThh:mm:ssZ
- %{rfc3339_utc_usec}t => yyyy-mm-ddThh:mm:ss.uuuuuuZ
usable for both ErrorLogFormat and mod_log_config's CustomLog/LogFormat.

I'm attaching a patch (based on Alexandre's) which does that, let's see if we
can go with this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to