You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2010/10/02 19:28:32 UTC

[jira] Resolved: (WICKET-2824) Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time

     [ https://issues.apache.org/jira/browse/WICKET-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-2824.
----------------------------------------

      Assignee: Juergen Donnerstag
    Resolution: Cannot Reproduce

thanks for testing.

> Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-2824
>                 URL: https://issues.apache.org/jira/browse/WICKET-2824
>             Project: Wicket
>          Issue Type: Test
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Ondra Žižka
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>
> Reproduce:
> 1) Set your system's national settings to non-US (e.g. Czech)
> 2) mvn clean test
> 3) You'll see these failing:
> org.apache.wicket.util.time.TimeMapTest:
>   <testcase time="0" name="testSimpleStaticTimeFrame">
>     <error message="Unparseable date: &quot;3.14pm&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;3.14pm&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.TimeOfDay.valueOf(TimeOfDay.java:219)
>         ...
> org.apache.wicket.util.time.TimeTest:
>   <testcase time="0" name="test">
>     <error message="Unparseable date: &quot;2000.01.01-12.00am&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;2000.01.01-12.00am&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.Time.valueOf(Time.java:125)
>         ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.