You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Andrea Aime (JIRA)" <ji...@apache.org> on 2007/01/17 12:24:27 UTC

[jira] Commented: (CLI-127) Date validation tests are locale dependent

    [ https://issues.apache.org/jira/browse/CLI-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465421 ] 

Andrea Aime commented on CLI-127:
---------------------------------

Attached a patch to fix the issue

> Date validation tests are locale dependent
> ------------------------------------------
>
>                 Key: CLI-127
>                 URL: https://issues.apache.org/jira/browse/CLI-127
>             Project: Commons CLI
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Andrea Aime
>         Attachments: DateValidatorTest.java
>
>
> Date validation tests have strings such as Dec or Jan to specify months. In Italian locale the tests fails because the correct strings are Dic and Gen.
> Use DateFormatSymbols to make the test locale independent

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org