commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-719) FastDateFormat formats year differently than SimpleDateFormat in Java 7
Date Wed, 13 Jul 2011 17:01:00 GMT
FastDateFormat formats year differently than SimpleDateFormat in Java 7
-----------------------------------------------------------------------

                 Key: LANG-719
                 URL: https://issues.apache.org/jira/browse/LANG-719
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.time.*
            Reporter: Joerg Schaible
            Assignee: Joerg Schaible
             Fix For: 3.0


Starting with Java 7 does SimpleDateFormat format a year pattern of 'Y' or 'YYY' as '2003'
instead of '03' as in former Java releases. According Javadoc this pattern should have been
always been formatted as number, therefore the new behavior seems to be a bug fix in the JDK.
FastDateFormat is adjusted to behave the same.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message