Vote #66708
未完了"In the past N days" filter displays N+1 days
0%
説明
Go in /time_entries/report (all projects)
Select "Last 7 days"
Select "days" in details, add something, the report shows and sums 8 days.
journals
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.
!spent-time-filter-r16111.png!
--------------------------------------------------------------------------------
related_issues
relates,Closed,5329,Time entries report broken on first week of year