PredixDev / predix-rmd-ref-app

predix-rmd
Other
74 stars 98 forks source link

Local time VS UTC time on graph X axis #23

Open jerryatge opened 7 years ago

jerryatge commented 7 years ago

Problematic App: Reference App Context: Bentley Compressor Problematic point: graph of the 'Asset Parameter Comparison'

Problem: Time disparity - The time shown in the 'date/time' range selection is in local time, while the time shown in the X axis of the graph is shown as UTC.

The time in the X axis of the 'PARAMETER COMPARISON' graph is shown as UTC time on the time series graph (in Assets Parameter Comparison). While the time in the "date/time" range selection is in Local time.

Please check attached picture time_issue.jpg showing the issue. time_issue

justinlanglais commented 7 years ago

We did a demo for our Signage Tetra Connect project in Las Vegas few weeks ago and peoples were confused regarding the time disparity (why ?). We will have another demo in a week or 2 and it will be nice to be able to have both in local time. Thank you !

turnerth commented 7 years ago

please try the new version. It's merged with the Predix UI Seed. https://rmd-ref-app.run.aws-usw02-pr.ice.predix.io/#/rmd

jerryatge commented 7 years ago

@turnerth , the new version has the same issue, please see below the screen shot: time_issue

gstroup commented 7 years ago

Yes, this has been an ongoing issue with the px-vis-timeseries components. I think it's possible, but I haven't had time to track down exactly where to set the time zone configuration. Please see this issue: https://github.com/PredixDev/px-vis-timeseries/issues/32

If you find a solution, let us know. We should fix it on this repo: https://github.com/predixdev/predix-webapp-starter