Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-127

Date validation tests are locale dependent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • CLI-2.x
    • None

    Description

      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

      Attachments

        1. DateValidatorTest.java
          2 kB
          Andrea Aime

        Activity

          People

            Unassigned Unassigned
            aaime Andrea Aime
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: