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.

Reply via email to