node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

Dashboard Chart shows wrong timestamp at right hand side in UTC mode

Open colinl opened this issue 5 years ago • 1 comments
trafficstars

What are the steps to reproduce?

With a non-UTC local timezone, create a chart and specify As UTC for the X-axis label. Feed the chart with regular data and let a graph build up. Then refresh the browser.

What happens?

After the browser refresh the timestamp shown at the right hand end of the chart is shown in local time. Historical timestamps are correctly in UTC.

What do you expect to happen?

All timestamps should be in UTC

Please tell us about your environment:

  • [ ] Node-RED-Dashboard version: 2.23.0
  • [ ] Node-RED version: 1.1.2
  • [ ] node.js version: 10.21.0
  • [ ] npm version: 6.14.4
  • [ ] Platform/OS: PC running Ubuntu 20.04
  • [ ] Browser: Waterfox 2020.07

colinl avatar Jul 17 '20 07:07 colinl

More information, it doesn't appear to be entirely consistent, sometimes it works. I haven't worked out the failing conditions yet.

OK, got it, it works ok until the screen is refreshed. I will updated the description.

colinl avatar Jul 17 '20 08:07 colinl