Project

General

Profile

Actions

Defect #4953

open

"In the past N days" filter displays N+1 days

Added by Giuliano Simoncelli almost 14 years ago. Updated about 7 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
2010-03-01
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

timelog_controller.rb.diff (1.34 KB) timelog_controller.rb.diff Yuki Kita, 2010-03-30 15:10
timelog_criteria.png (49.3 KB) timelog_criteria.png Screenshot of misbehaviour in filter criteria Daniel Felix, 2013-01-14 14:21
Screen Shot 2013-02-13 at 18.21.25.png (42.5 KB) Screen Shot 2013-02-13 at 18.21.25.png mcfedr mcfedr, 2013-02-14 08:35
spent-time-filter-r16111.png (78.3 KB) spent-time-filter-r16111.png Go MAEDA, 2016-12-23 10:24

Related issues

Related to Redmine - Defect #5329: Time entries report broken on first week of yearClosedJean-Philippe Lang2010-04-15

Actions
Actions #1

Updated by Yuki Kita almost 14 years ago

Confirmed
And I noticed that "Last 30 days" filter displays 31 days.
Here is the patch.

Actions #2

Updated by Daniel Felix about 11 years ago

The patch won't apply cleanly, as the corresponding code is completly rewritten.

But I'm stil able to reproduce this (see attachment).

Actions #3

Updated by mcfedr mcfedr about 11 years ago

Noticed this same problem on the latest redmine - It was telling me i have worked 48 hours in the last week!

Actions #4

Updated by Go MAEDA about 7 years ago

"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.

Actions

Also available in: Atom PDF