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] Created: (CLI-127) Date validation tests are locale
dependent
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
[jira] Resolved: (CLI-127) Date validation tests are locale
dependent
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (CLI-127) Date validation tests are locale
dependent
Posted by "Andrea Aime (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (CLI-127) Date validation tests are locale
dependent
Posted by "Andrea Aime (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLI-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Aime updated CLI-127:
----------------------------
Attachment: DateValidatorTest.java
> 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
[jira] Updated: (CLI-127) Date validation tests are locale
dependent
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLI-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated CLI-127:
------------------------------
Component/s: CLI-2.x
> 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
> 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