Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong hours on x-axis labels when Daylight Saving Time changes #4398

Open
Danielvdd1 opened this issue Apr 10, 2024 · 0 comments
Open

Wrong hours on x-axis labels when Daylight Saving Time changes #4398

Danielvdd1 opened this issue Apr 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Danielvdd1
Copy link

Description

The hour x-axis labels are incorrect during a day that the Daylight Saving Time changes. The labels don't show the correct time, but the tooltip does.
Present in the latest version (3.48.0)

Reproduction Link

https://codepen.io/Danielvdd1/pen/vYMjvPE
The codepen contains two graphs. The fist is winter to summertime (31 mar 2024). The second is summer to wintertime (27 oct 2024).
The values in the graph represent the expected hours on the x-axis.

Expected Behavior

The labels on the x-axis at 31 mar 2024 should start with these hours.
Example: 0, 1, 3, 4, 5, 6, etc.

Actual Behavior

The first 3 labels at 31 mar 2024 are correct (this includes the first hour with the offset), but after this the hours are incremented like the time offset did not happen.
Example: 0, 1, 3, 3, 4, 5, etc.
(The tooltip time is correct. It does not match with the x-axis labels.)

Screenshots

The values in the graph represent the expected hours on the x-axis.
Winter to summer time
Summer to winter time
The values in the graph represent the expected hours on the x-axis.

@Danielvdd1 Danielvdd1 added the bug Something isn't working label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant