diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-18 12:29:32 +0200 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-18 12:29:32 +0200 |
commit | 857eb8efc022ff89ca0a1aaa11a3d4cbbe52d5ae (patch) | |
tree | 8f2318d5a043cd1ce10db187fd87b3e11effb478 /plugins/sonar-core-plugin | |
parent | ead620a8776acfb1a3e8e2e3d676a06311754f3e (diff) | |
download | sonarqube-857eb8efc022ff89ca0a1aaa11a3d4cbbe52d5ae.tar.gz sonarqube-857eb8efc022ff89ca0a1aaa11a3d4cbbe52d5ae.zip |
SONAR-3800 The Timeline widget generates many warnings
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb index 17b0543a2e5..6bcd0d7c1fa 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb @@ -57,7 +57,7 @@ # Only Oracle returns a Time object, so let's parse this string if it's not a Time instance m_date = Time.parse(metric_data[:date]) unless m_date.is_a? Time m_value = sprintf("%0.02f", metric_data[:value]) - m_value_localized = ProjectMeasure.new (:metric => metric_map[metric_id]).format_numeric_value(metric_data[:value], {}) + m_value_localized = ProjectMeasure.new(:metric => metric_map[metric_id]).format_numeric_value(metric_data[:value], {}) js_data += "{x:d(" js_data += m_date.year.to_s js_data += "," |