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

Hours segment repeats twice on the daylight saving day. #801

Closed
daneshmandi opened this issue Nov 12, 2018 · 1 comment
Closed

Hours segment repeats twice on the daylight saving day. #801

daneshmandi opened this issue Nov 12, 2018 · 1 comment

Comments

@daneshmandi
Copy link

Describe the bug

Hours segment repeats twice for the hour "1 AM" on the daylight saving day for the day view and week view.

Minimal reproduction of the problem with instructions

For my case daylight saving day is Nov. 4th, So when I check this day on calendar I see the "1 AM" has repeated twice on this day for both day view and week view. As I checked the Demo at https://mattlewis92.github.io/angular-calendar/#/kitchen-sink act the same, too.

Screenshots
https://imgur.com/81XomWP

Versions

  • @angular/core: 7.0.2
  • angular-calendar: 0.26.4
  • Browser name and version: Chrome Version 70.0.3538.77 (Official Build) (64-bit)
@mattlewis92
Copy link
Owner

Unfortunately date-fns doesn't have a UTC mode (yet) so the only way to workaround this is by using moment and setting the timezone to UTC. See #477 (comment) for an example.

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

No branches or pull requests

2 participants