https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-03-30T13:10:09ZRedmineRedmine - Defect #4953: "In the past N days" filter displays N+1 dayshttps://www.redmine.org/issues/4953?journal_id=155442010-03-30T13:10:09ZYuki Kita
<ul><li><strong>File</strong> <a href="/attachments/3484">timelog_controller.rb.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3484/timelog_controller.rb.diff">timelog_controller.rb.diff</a> added</li></ul><p>Confirmed<br />And I noticed that "Last 30 days" filter displays 31 days.<br />Here is the patch.</p> Redmine - Defect #4953: "In the past N days" filter displays N+1 dayshttps://www.redmine.org/issues/4953?journal_id=442942013-01-14T13:21:10ZDaniel Felix
<ul><li><strong>File</strong> <a href="/attachments/8812">timelog_criteria.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/8812/timelog_criteria.png">timelog_criteria.png</a> added</li><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li><li><strong>Affected version (unused)</strong> changed from <i>0.9.2</i> to <i>2.2.1</i></li><li><strong>Affected version</strong> changed from <i>0.9.2</i> to <i>2.2.1</i></li></ul><p>The patch won't apply cleanly, as the corresponding code is completly rewritten.</p>
<p>But I'm stil able to reproduce this (see attachment).</p> Redmine - Defect #4953: "In the past N days" filter displays N+1 dayshttps://www.redmine.org/issues/4953?journal_id=456622013-02-14T07:35:21Zmcfedr mcfedr
<ul><li><strong>File</strong> <a href="/attachments/9043">Screen Shot 2013-02-13 at 18.21.25.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9043/Screen%20Shot%202013-02-13%20at%2018.21.25.png">Screen Shot 2013-02-13 at 18.21.25.png</a> added</li></ul><p>Noticed this same problem on the latest redmine - It was telling me i have worked 48 hours in the last week!</p> Redmine - Defect #4953: "In the past N days" filter displays N+1 dayshttps://www.redmine.org/issues/4953?journal_id=752392016-12-23T09:26:52ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/17306">spent-time-filter-r16111.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17306/spent-time-filter-r16111.png">spent-time-filter-r16111.png</a> added</li><li><strong>Subject</strong> changed from <i>In project report "Last 7 days" filter displays 8 days</i> to <i>"In the past N days" filter displays N+1 days</i></li></ul><p>"In the past N days" filter in Current trunk (<a class="changeset" title="Adds .rebuild_single_tree! to rebuild a single tree (#24167)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/16111">r16111</a>) has the same behavior.<br />Not only spent time filter but also issues filter has the same behavior.</p>
<p><img src="https://www.redmine.org/attachments/download/17306/spent-time-filter-r16111.png" alt="" /></p>