From 0f0ab745609637e5294dd46829ae2500912fb357 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 30 Apr 2007 18:03:42 +0000 Subject: [PATCH] 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 --- app/controllers/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index ffc71ce1..0f68f800 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -462,7 +462,7 @@ class ProjectsController < ApplicationController @month ||= Date.today.month @date_from = Date.civil(@year, @month, 1) - @date_to = (@date_from >> 1)-1 + @date_to = @date_from >> 1 @events_by_day = {}