@DateTimeFormat(iso = ISO.DATE_TIME) should use optimized formatter for LocalDateTime [SPR-14958] #19525
Comments
Juergen Hoeller commented We've got specific checks for printing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oliver Drotbohm opened SPR-14958 and commented
It looks like the usage of
DateTimeFormatter.ISO_DATE_TIME
to formatLocalDateTime
instances is significantly slower than a usage ofDateTimeFormatter.ISO_LOCAL_DATE_TIME
(see this benchmark for details).It would be cool if we could switch to that
DateTimeFormatter
in case aLocalDateTime
instance is to be converted.Affects: 4.3.4, 5.0 M3
Issue Links:
The text was updated successfully, but these errors were encountered: