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:
parent
5288b8550b
commit
0f0ab74560
|
@ -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 = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue