tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59871] Impossible to change datetime format in OneLineFormatter/Use sane (sortable) format
Date Thu, 06 Apr 2017 11:38:01 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59871

--- Comment #10 from Michael Osipov <1983-01-06@gmx.net> ---
(In reply to Andrey Zykov from comment #9)
> (In reply to Michael Osipov from comment #8)
> > 
> > I had the same issue, read he Javadoc: SSS is not supported. You wan't
> > "yyyy-MM-dd'T'HH:mm:ss". Btw, never go for Z but for ZZZ only. Try
> > "yyyy-MM-dd'T'HH:mm:ssZZZ".
> 
> It still adds milliseconds at the end of timestamp:
> 
> 2017-04-06T12:17:55+0200.574

I got it now. Sorry, it has to be XXX instead of ZZZ for ISO-compliant offset.
Anyway, the custom formatter assumes that nothing comes after the 'ss' as far
as I can see and simply adds the fraction. You should file a separate issue for
that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message