summaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-02-11 15:05:15 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-02-17 17:34:37 +0100
commit1f5a84ff501e6404a7a2a89c166dde0ba46bceb2 (patch)
tree0760aa2bc95cfeee8f16aa1ae1ef8e4ac0928678 /plugins/sonar-core-plugin
parent1af0c2e7482eaa4912a1c9aef1f98cfb1c3c10f4 (diff)
downloadsonarqube-1f5a84ff501e6404a7a2a89c166dde0ba46bceb2.tar.gz
sonarqube-1f5a84ff501e6404a7a2a89c166dde0ba46bceb2.zip
SONAR-6163 - timezones - events migration
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb2
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 18c5d7785a2..55ce78fe4d6 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
@@ -101,7 +101,7 @@
from_date = first_date if !from_date || from_date > first_date
end
end
- Event.find(:all, :conditions => ["resource_id=? AND event_date>=?", @resource.id, from_date], :order => 'event_date').each() do |event|
+ Event.find(:all, :conditions => ["resource_id=? AND event_date>=?", @resource.id, from_date.to_i*1000], :order => 'event_date').each() do |event|
if events[event.event_date]
events[event.event_date] << event
else