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

Timezone issue: first week of DST displays wrong time #2384

Closed
4 of 5 tasks
MarianAlexandruAlecu opened this issue Mar 23, 2023 · 2 comments
Closed
4 of 5 tasks

Timezone issue: first week of DST displays wrong time #2384

MarianAlexandruAlecu opened this issue Mar 23, 2023 · 2 comments
Labels

Comments

@MarianAlexandruAlecu
Copy link

MarianAlexandruAlecu commented Mar 23, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/react-big-calendar-demo-2023-286jjm?file=/index.js

Bug description

4:30 - 5:30 AM event is displayed in the slot for 5:30 - 6:30 AM

Requirements

  • laptop timezone is New York
  • calendar starts from 2 AM and ends at 11 PM

Screenshot 2023-03-23 at 08 46 07

This bug is related with #1083 that was fixed. Unfortunately it's not 100% fixed.

Expected Behavior

4:30 - 5:30 AM event should be displayed in the slot for 4:30 - 5:30 AM

react-big-calendar version

1.6.8

React version

16.14.0

Platform/Target and Browser Versions

macOS Chrome (but all platforms have it)

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@bu6n
Copy link
Contributor

bu6n commented Mar 24, 2023

Could it be related to this?
#2296

At the end there's a PR which could maybe solve the problem in your case.

@cutterbl
Copy link
Collaborator

Thanks to @bu6n, this is now fixed in v1.6.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants