Fixed: last day of the month not included in project activity

git-svn-id: http://redmine.rubyforge.org/svn/trunk@493 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-04-30 18:03:42 +00:00
parent 5288b8550b
commit 0f0ab74560
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ class ProjectsController < ApplicationController
@month ||= Date.today.month @month ||= Date.today.month
@date_from = Date.civil(@year, @month, 1) @date_from = Date.civil(@year, @month, 1)
@date_to = (@date_from >> 1)-1 @date_to = @date_from >> 1
@events_by_day = {} @events_by_day = {}