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

Demonstrate next_occurrences bug. #524

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

flivni
Copy link

@flivni flivni commented Mar 31, 2022

It seems like there is a bug where if you pass a from time to schedule.next_occurrences that is close to the DST boundary, you can get future occurrences that occur on the wrong time.

E.g. A recurring appointment that occurs every Sunday at 01:15 am London time. If you call schedule.next_occurrences(from_time) where from_time is just prior to March 27, 2022 01:00 am, all occurrences shift an hour forward to 2:15 am local time.

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

Successfully merging this pull request may close these issues.

1 participant