Skip to content

fix: Bank holiday and weekend exclusion boolean check #68

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

liam-shepherd-form3
Copy link
Contributor

PR #67 aimed to fix the exclusion logic handling on bank holidays and weekends by copying the code from weekdays. However the boolean was left as an &&, meaning the if statement would never match as the current local hour won't be simultaneously earlier than the start hour and later then the end hour.

@liam-shepherd-form3 liam-shepherd-form3 requested a review from a team as a code owner May 1, 2025 12:22
@liam-shepherd-form3 liam-shepherd-form3 merged commit 815b1a5 into master May 1, 2025
2 checks passed
@liam-shepherd-form3 liam-shepherd-form3 deleted the liam-excluded branch May 1, 2025 12:30
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.

2 participants