You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/03/15 17:45:10 UTC
[jira] Resolved: (CLI-127) Date validation tests are locale
dependent
[ https://issues.apache.org/jira/browse/CLI-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell resolved CLI-127.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0
svn ci -m "Fixing tests so they pass in Italy as per #CLI-127"
Sending src/test/org/apache/commons/cli2/validation/DateValidatorTest.java
Transmitting file data .
Committed revision 518683.
Thanks Andrea.
> Date validation tests are locale dependent
> ------------------------------------------
>
> Key: CLI-127
> URL: https://issues.apache.org/jira/browse/CLI-127
> Project: Commons CLI
> Issue Type: Bug
> Components: CLI-2.x
> Affects Versions: 2.0
> Reporter: Andrea Aime
> Fix For: 2.0
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org