plotly.js
plotly.js copied to clipboard
Investigate timezone dependent bugs
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
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
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