You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/03/28 20:39:00 UTC

DO NOT REPLY [Bug 39135] New: - Bad patterns in ISO8601DateFormat and DateTimeDateFormat

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


DO NOT REPLY [Bug 39135] - Bad patterns in ISO8601DateFormat and DateTimeDateFormat

Posted by bu...@apache.org.
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


carnold@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From carnold@apache.org  2006-03-28 19:49 -------
Committed on trunk in rev 389572, 1.2 branch in rev 389573.

-- 
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