Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-2196

Australian date-time failed to parse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.0-M3
    • 5.0.0-M4
    • Converters
    • None

    Description

      Australian DateTime failed to parse due to case sensitive DateTimeFormat

      java.time.format.DateTimeFormatter.ofPattern("d/M/yy, h:mm a").withLocale(new Locale.Builder().setLanguage("en").setRegion("AU").build()).parse("26/3/20, 8:03 AM")
      |  Exception java.time.format.DateTimeParseException: Text '26/3/20, 8:03 AM' could not be parsed at index 14
      |        at DateTimeFormatter.parseResolved0 (DateTimeFormatter.java:2046)
      |        at DateTimeFormatter.parse (DateTimeFormatter.java:1874)
      |        at (#2:1)
      

      Attachments

        Activity

          People

            solomax Maxim Solodovnik
            solomax Maxim Solodovnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: