-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Support lenient parsing for dates using AM/PM in conjunction with @DateTimeFormat
#30649
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@DateTimeFormat
"Loose matching of space separators in the lenient date/time parsing mode" has been integrated into Java 23-ea+9: See JDK-8324665 for more details. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@DateTimeFormat
After experimenting with the available options in this feature branch, we decided not to provide built-in support for lenient parsing of date/time formats in conjunction with Instead, we will document the options that Spring users have, and I am therefore closing this as superseded by: |
Overview
This is a follow-up to #30185 and #33151.
When applications run on JDK 23+, Spring Framework should support lenient parsing for date/time formats that include the time
period
(AM or PM) -- for example, by matching leniently against a narrow non-breaking space (NNBSP) or a standard space between the hour and AM/PM declaration.Related Resources
Related Issues
The text was updated successfully, but these errors were encountered: