diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-02-11 15:05:15 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-02-17 17:34:37 +0100 |
commit | 1f5a84ff501e6404a7a2a89c166dde0ba46bceb2 (patch) | |
tree | 0760aa2bc95cfeee8f16aa1ae1ef8e4ac0928678 /plugins/sonar-core-plugin | |
parent | 1af0c2e7482eaa4912a1c9aef1f98cfb1c3c10f4 (diff) | |
download | sonarqube-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.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 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 |