It's my first question, but I try all day to find error:
I use simple code for parse DateTime from string:
DateTimeFormatter dateTimeFormatter=DateTimeFormatter.ofPattern ("yyyy-MM-dd hh:mm");
LocalDateTime start = LocalDateTime.parse("2019-12-01 10:00", dateTimeFormatter);
and got error:
Text '2019-12-01 10:00' could not be parsed: Unable to obtain LocalDateTime from TemporalAccessor: {HourOfAmPm=10, MinuteOfHour=0},ISO resolved to 2019-12-01 of type java.time.format.Parsed
where is my mistake?