-
Notifications
You must be signed in to change notification settings - Fork 38k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider using ZonedDateTime in HttpHeaders [SPR-15661] #20220
Labels
Milestone
Comments
Sébastien Deleuze commented Merged, see the commit log message for more details. |
spring-projects-issues
added
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: task
A general task
labels
Jan 11, 2019
This was referenced Jan 11, 2019
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Sébastien Deleuze opened SPR-15661 and commented
As raised during discussing #20114, ideally we Spring Framework 5 API should exposed date/time with timezone in a consistent way, but currently
HttpHeaders
existing date/time fields are exposed withlong
while they should be exposed withZonedDateTime
likeContentDisposition
.The consensus was to deprecate current
long
based variants and to add newZonedDateTime
ones, but this is not possible easily on getters if we use the same method name and choosing other names likegetDateAsZonedDateTime()
is not super appealing.Affects: 5.0 RC2
Issue Links:
Referenced from: commits 1fa8410, 5c1d8c7
The text was updated successfully, but these errors were encountered: