diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2011-08-31 15:45:17 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2011-08-31 15:45:17 +0200 |
commit | fe54c6c721c33638855da5baed61dfc1a9c5cc09 (patch) | |
tree | a1eb6b325a6e70e3bb4ed97209dd0ad21259c775 /plugins | |
parent | 102ac2128ba72984cde518ecc873b2a2c07e296b (diff) | |
download | sonarqube-fe54c6c721c33638855da5baed61dfc1a9c5cc09.tar.gz sonarqube-fe54c6c721c33638855da5baed61dfc1a9c5cc09.zip |
SONAR-2074 Fix bug if event date slightly differs from snapshot date
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb | 6 |
1 files changed, 3 insertions, 3 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 5bdb2b17c57..e8987f98ca4 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 @@ -84,7 +84,9 @@ js_events = "[" events.keys().sort.each() do |e_date| e_details = events[e_date] - js_events += "{\"d\":d(" + js_events += "{\"sid\":" + js_events += e_details[0].snapshot_id.to_s + js_events += ",\"d\":d(" js_events += e_date.year.to_s js_events += "," # Need to decrease by 1 the month as the JS Date object start months at 0 (= January) @@ -101,8 +103,6 @@ e_details.each() do |e| js_events += "{\"n\":\"" js_events += e.name - js_events += "\",\"ld\":\"" - js_events += l e_date, :format => :long js_events += "\"}," end js_events += "]}," |