title: Java 8 LocalDate won't parse valid date string
body: <p>Java 8 here. I have the following code:</p>
  
  <pre><code>final String createdDateStr = "20110920";
  final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("YYYYMMdd");
  final LocalDate localDate = LocalDate.parse(createdDateStr, formatter);
  </code></pre>
  
  <p>At runtime I get the following exception:</p>
  
  <pre><code>java.time.format.DateTimeParseException: Text '20110920' could not be parsed at index 0
  
      at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949)
      at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
      at java.
  </code></pre>
  
  <p>...being thrown from the <code>LocalDate.parse(...)</code> invocation. <strong>What is wrong with the parser?!</strong></p>