Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3295

MultiFormatDateParserTest fails if the VM locale is not English

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      Running the test on my environment where the default locale is Italy the MultiFormatDateParserTest fails with the following exception

      Tests run: 23, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.133 sec <<< FAILURE! - in org.dspace.util.MultiFormatDateParserTest
      testParse[16](org.dspace.util.MultiFormatDateParserTest)  Time elapsed: 0.017 sec  <<< ERROR!
      java.text.ParseException: Unparseable date: "1957 Jan 27"
              at org.dspace.util.MultiFormatDateParserTest.testParse(MultiFormatDateParserTest.java:143)
      

        Attachments

          Activity

            People

            Assignee:
            bollini Andrea Bollini (4Science)
            Reporter:
            bollini Andrea Bollini (4Science)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: