logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39135] New: - Bad patterns in ISO8601DateFormat and DateTimeDateFormat
Date Tue, 28 Mar 2006 18:39:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39135>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39135

           Summary: Bad patterns in ISO8601DateFormat and DateTimeDateFormat
           Product: Log4j
           Version: 1.3alpha
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Layout
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: carnold@apache.org


o.a.l.helpers.ISO8601DateFormat and o.a.l.helpers.DateTimeDateFormat were restored to the
trunk in rev 
371710 on 2006-01-23 logged against bug 35452 (the catch all log4j 1.3 incompatibility bug).
 These 
implementations were provided strictly for existing applications and are not used with log4j.
 The new 
implementations simply delegate to java.util.SimpleDateFormat unlike the log4j 1.2 implementations

which attempted an independent implementation.

Unfortunately, the patterns used were lifted directly from the log4j 1.2 javadoc comments
which were 
wrong.  The use of YYYY instead of yyyy would result in an exception on construction and the
use of yyyy-
mm-dd instead of yyyy-MM-dd would result in the value of the hour being used as the date.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message