[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1812) date format specified doesn't always match short type
Pierre Raoul (JIRA)
jira-events at lists.jboss.org
Fri Aug 17 09:56:01 EDT 2007
date format specified doesn't always match short type
-----------------------------------------------------
Key: JBSEAM-1812
URL: http://jira.jboss.com/jira/browse/JBSEAM-1812
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.CR1
Reporter: Pierre Raoul
In InterpolatorTest.java, the test with "{0,date,short}" can fail with some locales. The pattern "M/d/y" is not always equivalent to DateFormat.SHORT.
With
Assert.assertEquals(DateFormat.getDateInstance(DateFormat.SHORT).format(date), interpolator.interpolate("{0,date,short}", date));
it's ok.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list