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

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12917218#action_12917218 ] 

Tomasz Dziurko commented on WICKET-2824:
----------------------------------------

Not sure if it is relevant, but I downloaded latest 1.4.x from repositories and tried to reproduce this issue on non-US Locale (Polish) but without success. All testes are ok.

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