From 0ec0be546e4a0bf1956b016a986e1f57ca465618 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 12 Sep 2016 14:11:41 +0200 Subject: [PATCH] SONAR-8049 Drilldown on issues introduced since last analysis is not using correct date from project dashboard --- .../resources/org/sonar/server/dashboard/widget/issues.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5