]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8049 Drilldown on issues introduced since last analysis is not using correct...
authorStas Vilchik <vilchiks@gmail.com>
Mon, 12 Sep 2016 12:11:41 +0000 (14:11 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 12 Sep 2016 12:11:41 +0000 (14:11 +0200)
server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/issues.html.erb

index c7c92077f9cd40c97a7ac954ffe1501af9c7c63c..8d1967b8c5e01a11c03ef83f2525243a5d69f884 100644 (file)
@@ -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))