title: Spring's @DateTimeFormat ignores wanted date format pattern
body: <p>Can't get my head on how date formatting using @DateTimeFormat works.
  I send query with date params being:</p>
  <pre><code>dateCreateFrom - 01.04.2022T00%3A00%3A00
  dateCreateTo   - 30.04.2022T00%3A00%3A00
  </code></pre>
  <p>But at the controller endpoint I get dates like: <code>2022-04-30T00:00</code></p>
  <p>Controller looks like:</p>
  <pre><code>@DateTimeFormat(pattern = &quot;dd.MM.yyyy'T'HH:mm:ss&quot;)
  dateCreateFrom: LocalDateTime? = null,
  @DateTimeFormat(pattern = &quot;dd.MM.yyyy'T'HH:mm:ss&quot;)
  dateCreateTo: LocalDateTime? = null,
  </code></pre>
  <p>Maybe someone can explain me why I get such results and how can I get results that I want to (dd.MM.yyyy'T'HH:mm:ss)</p>
  <p>Any help appreciated</p>