title: Local DateTime cannot be parsed in Java 11
body: <p>I have below code.</p>
  <pre><code>DateTimeFormatter formatter = DateTimeFormatter.ofPattern(&quot;yyyy-MM-dd'T'HH:mm:ss.SSSZ&quot;);
  LocalDateTime myDate =  LocalDateTime.parse(&quot;2020-11-16T02:27:39.345Z&quot;, formatter);
  </code></pre>
  <p>But it throws below error in the second line. Not sure why it's complaining <code>Z </code></p>
  <pre><code>java.time.format.DateTimeParseException: Text '2020-11-16T02:27:39.345Z' could not be parsed at index 23
      at java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2046)
      at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1948)
      at java.base/java.time.LocalDateTime.parse(LocalDateTime.java:492)
  </code></pre>