title: Problem with parse a LocalDateTime using java 8
body: <p>I have this code, it's a simple string that I want to parse it to a LocalDateTime</p>
  
  <pre><code>    import java.time.LocalDateTime;
      import java.time.format.DateTimeFormatter;
      import java.time.format.DateTimeFormatterBuilder;
  
      public class DateClass {
  
          /**
           * @param args the command line arguments
           */
          public static void main(String[] args) {
  
              String dateRaw = "2019-05-03 7:05:03";        
  
              DateTimeFormatter dtf = new DateTimeFormatterBuilder().appendPattern("uuuu-mm-dd HH:mm:ss").toFormatter(); 
  
              LocalDateTime date= LocalDateTime.parse(dateRaw, dtf);
              System.out.println(date.toString());
          }
  
      }
  </code></pre>
  
  <p>And when y runing, I have the next error:</p>
  
  <pre><code>Exception in thread "main" java.time.format.DateTimeParseException: Text '2019-05-03 7:05:03' could not be parsed at index 11
      at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949)
      at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
      at java.time.LocalDateTime.parse(LocalDateTime.java:492)
      at lectordeachvio.DateClass.main(DateClass.java:18)
  </code></pre>
  
  <p>what I doing wrong? and why has a fault with de space????</p>