Project

General

Profile

Actions

Feature #18336

open

Set correct-er Timezone data for host graphs.

Added by Alexander Olofsson over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently the runtime and event graphs for host display all the time points in UTC, regardless of user settings.

Adding the following patch has made it a bit more logical - according to our users;

--- a/app/assets/javascripts/charts.js
+++ b/app/assets/javascripts/charts.js
@@ -165,7 +165,8 @@ function flot_time_chart(target, data, legendOptions){
     xaxis: {
       mode: "time",
       axisLabel: target.data('xaxis-label'),
-      tickLength: 0 // hide gridlines
+      tickLength: 0, // hide gridlines
+      timezone: "browser" 

Perhaps a possibility could be to pass the timezone chosen by the current user into the charting code?

Actions #1

Updated by Dominic Cleal over 7 years ago

  • Category set to Web Interface
Actions

Also available in: Atom PDF