Defect #4953
open
"In the past N days" filter displays N+1 days
Added by Giuliano Simoncelli about 16 years ago.
Updated about 9 years ago.
Description
Go in /time_entries/report (all projects)
Select "Last 7 days"
Select "days" in details, add something, the report shows and sums 8 days.
Files
Confirmed
And I noticed that "Last 30 days" filter displays 31 days.
Here is the patch.
The patch won't apply cleanly, as the corresponding code is completly rewritten.
But I'm stil able to reproduce this (see attachment).
Noticed this same problem on the latest redmine - It was telling me i have worked 48 hours in the last week!
"In the past N days" filter in Current trunk (r16111) has the same behavior.
Not only spent time filter but also issues filter has the same behavior.

Also available in: Atom
PDF