diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-30 18:03:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-30 18:03:42 +0000 |
commit | 0f0ab745609637e5294dd46829ae2500912fb357 (patch) | |
tree | c1d9410b16695d314e7f3ed1fdf16674ce81b374 /app | |
parent | 5288b8550bc278bbdc7e00a0550ef4e6fafb751a (diff) | |
download | redmine-0f0ab745609637e5294dd46829ae2500912fb357.tar.gz redmine-0f0ab745609637e5294dd46829ae2500912fb357.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index ffc71ce1f..0f68f8006 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 = {} |