[
https://issues.apache.org/jira/browse/OPENMEETINGS-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17067286#comment-17067286
]
ASF subversion and git services commented on OPENMEETINGS-2196:
---------------------------------------------------------------
Commit 2850bd918e89abc85fc43e8c139d1f00b33502f6 in openmeetings's branch
refs/heads/master from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=2850bd9 ]
[OPENMEETINGS-2196] date-times are parsed case insensitive
> 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
> Priority: Major
> 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)