]
Shane Bryzak closed JBSEAM-1812.
--------------------------------
Fix Version/s: 2.0.0.GA
Resolution: Done
Assignee: Shane Bryzak
Fixed in CVS, thanks for pointing this out.
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
Assigned To: Shane Bryzak
Fix For: 2.0.0.GA
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: