-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Do not let EventsTimetable schedule past events if catchup=False #36134
Do not let EventsTimetable schedule past events if catchup=False #36134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a regressio with the example included in the bug report and this PR fixed it.
@uranusjr As you are tagged as Codeowner, can you make another review before merge? Alternatively @Taragolis please make a second pass and then OK to merge? |
Looks right to me in general, just a minor idea on implementation. I also pushed a commit to improve typing slightly. |
By coercing things to Pendulum, we can save a bunch of ignores and explicit annotations.
26a7a09
to
d659a4f
Compare
) * Fix the EventsTimetable schedules past events bug --------- Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit c01daf8)
) * Fix the EventsTimetable schedules past events bug --------- Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit c01daf8)
closes: #33948
Fixed the bug and added some more tests.