plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

Investigate timezone dependent bugs

Open archmoj opened this issue 4 years ago • 2 comments
trafficstars

I don't think this has been fixed. I took the original code pen and updated it to 2.3.0:

https://codepen.io/Djeramon/pen/XWRVzwz

The behavior is not yet right. Two things are going wrong:

  • For the last data point only the hover label of a single trace is shown. (Yen)
  • The values for all other traces are shifted and are not shown correctly. (e.g. the third data point for US Dollar should be the value 6, but instead the hover label shows the value 8)

Originally posted by @Djeramon in https://github.com/plotly/plotly.js/issues/5822#issuecomment-886413675

archmoj avatar Jul 28 '21 15:07 archmoj

Right now time zone is not set to Alaska when generating the baselines (UTC is used). However if/when set 6 mocks render differently. See diff-* here: https://app.circleci.com/pipelines/github/plotly/plotly.js/5057/workflows/960e81f3-b5ff-4ee8-9b3b-41b5b7cce5d9/jobs/128237/artifacts

archmoj avatar Jul 28 '21 15:07 archmoj

Another observation is that by setting the timezone to Europe/Berlin some jasmine tests fail here: https://app.circleci.com/pipelines/github/plotly/plotly.js/5058/workflows/9afde51b-d32b-483f-9e30-56899bc50f59/jobs/128248

archmoj avatar Jul 28 '21 15:07 archmoj