[slf4j-dev] [Bug 112] Further MessageFormatter enhancements and fixes

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Dec 4 12:23:00 CET 2008


http://bugzilla.slf4j.org/show_bug.cgi?id=112





--- Comment #2 from Joern Huxhorn <joern at huxhorn.de>  2008-12-04 12:23:00 ---
It just came to my mind that it would probably also be a good idea to format a
java.util.Date argument in a well defined way.

I'd suggest to use SimpleDateFormat("yyyy-MM-dd' 'HH:mm:ss.SSSZ") or
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ") to format a given date.

Those are ISO-8061 standard formats and should be acceptable for everyone while
date.toString() uses a quite awkward format.


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the slf4j-dev mailing list