From: Stas Vilchik Date: Mon, 12 Sep 2016 12:11:41 +0000 (+0200) Subject: SONAR-8049 Drilldown on issues introduced since last analysis is not using correct... X-Git-Tag: 5.6.2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0ec0be546e4a0bf1956b016a986e1f57ca465618;p=sonarqube.git SONAR-8049 Drilldown on issues introduced since last analysis is not using correct date from project dashboard --- diff --git a/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/issues.html.erb b/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/issues.html.erb index c7c92077f9c..8d1967b8c5e 100644 --- a/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/issues.html.erb +++ b/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/issues.html.erb @@ -21,7 +21,7 @@ new_security_remediation_effort = @snapshot.measure('new_security_remediation_effort') if @dashboard_configuration.selected_period? - period_date = @snapshot.period_datetime(@dashboard_configuration.period_index).strftime('%FT%T%z') + period_date = (@snapshot.period_datetime(@dashboard_configuration.period_index) + 1).strftime('%FT%T%z') end tooltip = message('widget.as_calculated_on_x', :params => l(@snapshot.created_at))