-
Notifications
You must be signed in to change notification settings - Fork 2k
DateCache.formatNow(long now) does not honor the passed in long #4606
Copy link
Copy link
Closed
Labels
BugFor general bugs on Jetty sideFor general bugs on Jetty side
Description
Jetty version
All versions
Java version
All versions
OS type/version
All versions
Description
If using DateCache.formatNow(long now) ...
And the passed in long now is a cache miss, the Tick formatTick(long now) is used to generate a new Tick for caching reasons.
But it doesn't honor the passed in long now when regenerating the Tick.
Line 242 just blindly goes Instant.now(), when it probably should use Instant.ofEpochMilli(now)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugFor general bugs on Jetty sideFor general bugs on Jetty side