Maxim Solodovnik created OPENMEETINGS-2196:
----------------------------------------------

             Summary: Australian date-time failed to parse
                 Key: OPENMEETINGS-2196
                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2196
             Project: Openmeetings
          Issue Type: Bug
          Components: Converters
    Affects Versions: 5.0.0-M3
            Reporter: Maxim Solodovnik
            Assignee: Maxim Solodovnik
             Fix For: 5.0.0-M4


Australian DateTime failed to parse due to case sensitive DateTimeFormat

{code}
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)
{code}





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to