Extend WebFlux and WebMvc properties with timeFormat and dateTimeFormat properties to allow users to customize format of LocalTime and LocalDateTime instances.

This should add the missing functionality to #18511

Comment From: pivotal-issuemaster

@knittl Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@knittl Thank you for signing the Contributor License Agreement!

Comment From: wilkinsona

Thank you very much for making your first contribution to Spring Boot, @knittl. I polished things a little bit in https://github.com/spring-projects/spring-boot/commit/95e5d4e045f244a7a9bff0e1933cf430c5a67ebb, primarily to create a separate group for the format-related properties. For example, the MVC properties are now the following:

  • spring.mvc.format.date
  • spring.mvc.format.date-time
  • spring.mvc.format.time

Comment From: knittl

My pleasure, thanks for polishing. I really like the newly introduced grouping of the properties!