Problem with parse a LocalDateTime using java 8
DateTimeFormatter dtf = DateTimeFormatter.ofPattern(“uuuu-MM-dd H:mm:ss”); With this change your program outputs: 2019-05-03T07:05:03 A single format pattern letter H will match hour of day in either 1 or two digits. That is, it will accept 7, 07, 13, etc. Two HH on the other hand requires two digits like 07 or 13, so 7 alone cannot … Read more