You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.springframework.http.ResponseEntity.HeadersBuilder.lastModified and org.springframework.http.HttpHeaders.setLastModified only accept the date as long.
This long value is then internally converted to a java.time.Instant and a java.time.ZonedDateTime.
I propose to add overloads for the methods listed above which directly accept the "new" java.time types.
Lars Grefer opened SPR-17571 and commented
org.springframework.http.ResponseEntity.HeadersBuilder.lastModified
andorg.springframework.http.HttpHeaders.setLastModified
only accept the date aslong
.This long value is then internally converted to a
java.time.Instant
and ajava.time.ZonedDateTime
.I propose to add overloads for the methods listed above which directly accept the "new"
java.time
types.Affects: 5.1.3
Issue Links:
Referenced from: pull request #2039, and commits a240cfc, 9abd4ed, 6a01214
The text was updated successfully, but these errors were encountered: