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