From f5b671729d3d69184502b26ca5a92239830fc3a7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 26 Mar 2019 01:46:09 +0100 Subject: [PATCH] Fixed issue #2089 - timezone issue with report graphs not displaying or displaying $timezone hours out of step. --- lib/report/ticket_generic_time.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/report/ticket_generic_time.rb b/lib/report/ticket_generic_time.rb index 506f61fe7..3b87b66f0 100644 --- a/lib/report/ticket_generic_time.rb +++ b/lib/report/ticket_generic_time.rb @@ -85,9 +85,6 @@ returns elsif params[:interval] == 'day' || params[:interval] == 'week' replace = '\d\d:\d\d:\d\dZ$' end - Rails.logger.error '-----' - Rails.logger.error item - Rails.logger.error params[:range_start].iso8601.sub(/#{replace}/, '') next if key_as_string.iso8601.sub(/#{replace}/, '') != params[:range_start].iso8601.sub(/#{replace}/, '') next if match