paulscherrerinstitute/databuffer-ui

time axis is off by 1 hour

Closed this issue · 0 comments

What I did
Steps to reproduce the behavior:

  1. Open in one browser window: https://data-ui-beta.psi.ch/preselect?c1=sf-databuffer%2FS10CB01-RBOC-DCP10%3AFOR-AMPLT&startTime=2021-11-22T13:00:00.000Z&endTime=2021-11-22T14:00:00.000Z&plotVariation=separate-axes
  2. Open in another browser window: https://data-ui.psi.ch/preselect?c1=sf-databuffer%2FS10CB01-RBOC-DCP10%3AFOR-AMPLT&startTime=2021-11-22T13:00:00.000Z&endTime=2021-11-22T14:00:00.000Z&plotVariation=separate-axes

What I observed

  • time range for plot is 14:00 - 15:00 local time (13:00 - 14:00 UTC)
  • time axis is correct in data-ui.psi.ch (14:00 - 15:00 local time; running v4.5.0)
  • time axis is off by 1 hour in data-ui-beta.psi.ch (running edge build sha-818a7efa)

What I expected to see instead

  • time axis in data-ui-beta uses local time (14:00 - 15:00)

Screenshots
If applicable, add screenshots to help explain your problem.
image

Computer / Environment (please complete the following information):
n/a

Additional context
Add any other context about the problem here.

n/a