title: Using Jackson JsonFormat pattern for custom date string
body: <p><strong>Summary</strong></p>
  
  <p>I am attempting to parse dates such as <code>25/Sep/17</code> hence the <a href="https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html" rel="nofollow noreferrer">SimpleDateFormat</a> annotation seems to be <code>@JsonFormat(pattern = "dd/MMM/yy")</code>. However, when I try to parse this, I get an InvalidFormatException where the essence is (full exception below after example):</p>
  
  <pre><code>Text '25/Sep/17' could not be parsed at index 3
  </code></pre>
  
  <p>What is wrong with my date format string? I can't see any issues. It looks like it doesn't like the <code>Sep</code> paired with <code>MMM</code>.</p>
  
  <p>I am using Amazon Corretto Java version "11.0.5" 2019-10-15 LTS</p>
  
  <p><strong>Example to reproduce</strong></p>
  
  <pre><code>package example;
  
  import com.fasterxml.jackson.annotation.JsonFormat;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import com.fasterxml.jackson.databind.ObjectMapper;
  import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
  
  import java.time.LocalDate;
  
  public class HelloMapperApp {
    private static final ObjectMapper MAPPER = new ObjectMapper();
  
    public static void main(String[] args) {
      MAPPER.registerModule(new JavaTimeModule());
      try {
        Example example = MAPPER.readValue("{ \"name\": \"example\", \"date\": \"25/Sep/17\"", Example.class);
        System.out.println("Deserialised is: " + example);
      } catch (Exception e) {
        throw new RuntimeException("Could not parse JSON: " + e);
      }
    }
  
    static class Example {
      @JsonProperty
      String name;
      @JsonProperty
      @JsonFormat(pattern = "dd/MMM/yy")
      LocalDate date;
  
      @Override
      public String toString() {
        return String.format("name: %s%ndate: %s", name, date);
      }
    }
  }
  
  </code></pre>
  
  <p><strong>Full Exception</strong></p>
  
  <pre><code>Exception in thread "main" java.lang.RuntimeException: Could not parse JSON: com.fasterxml.jackson.databind.exc.InvalidFormatException: 
  Cannot deserialize value of type 
  `java.time.LocalDate` from String "25/Sep/17": Failed to deserialize java.time.LocalDate: 
  (java.time.format.DateTimeParseException) Text '25/Sep/17' could not be parsed at index 3
   at [Source: (String)"{ "name": "example", "date": "25/Sep/17""; line: 1, column: 30] (through reference chain: example.HelloMapperApp$Example["date"])
          at example.HelloMapperApp.main(HelloMapperApp.java:19)
  </code></pre>