Fixed issue #1315 - Time Accounting not showing all tickets, time is missing completly of specific ticket.

This commit is contained in:
Rolf Schmidt 2017-09-05 21:24:43 +02:00
parent f102c61f95
commit 16e79bbf88

View file

@ -8,7 +8,7 @@ class TimeAccountingsController < ApplicationController
year = params[:year] || Time.zone.now.year year = params[:year] || Time.zone.now.year
month = params[:month] || Time.zone.now.month month = params[:month] || Time.zone.now.month
start_periode = Time.parse("#{year}-#{month}-01") start_periode = Time.zone.parse("#{year}-#{month}-01")
end_periode = start_periode.end_of_month end_periode = start_periode.end_of_month
time_unit = {} time_unit = {}
@ -217,7 +217,7 @@ class TimeAccountingsController < ApplicationController
year = params[:year] || Time.zone.now.year year = params[:year] || Time.zone.now.year
month = params[:month] || Time.zone.now.month month = params[:month] || Time.zone.now.month
start_periode = Time.parse("#{year}-#{month}-01") start_periode = Time.zone.parse("#{year}-#{month}-01")
end_periode = start_periode.end_of_month end_periode = start_periode.end_of_month
time_unit = {} time_unit = {}
@ -297,7 +297,7 @@ class TimeAccountingsController < ApplicationController
year = params[:year] || Time.zone.now.year year = params[:year] || Time.zone.now.year
month = params[:month] || Time.zone.now.month month = params[:month] || Time.zone.now.month
start_periode = Time.parse("#{year}-#{month}-01") start_periode = Time.zone.parse("#{year}-#{month}-01")
end_periode = start_periode.end_of_month end_periode = start_periode.end_of_month
time_unit = {} time_unit = {}