[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1812) date format specified doesn't always match short type

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Mon Oct 15 05:11:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1812?page=all ]

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