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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to