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

Weekdays setting #845

Closed
wants to merge 3 commits into from
Closed

Conversation

MichalUssuri
Copy link
Contributor

Implementation of the issue: #844

throw new InvalidOperationException("NonStopSession is set -- this should never be called.");
}

if (_weekdays.Contains(time.DayOfWeek))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic is faulty. If midnight falls within the session (e.g. it goes from 8am-2am), then it will erroneously return false between midnight-2am.

I'm fixing it in a new branch and will submit a new PR.

@gbirchmeier
Copy link
Member

Thanks for your contribution, but I cannot accept this because:
(1) no unit tests
(2) contains unrelated commits
(3) found a bug

I've cherry-picked the middle commit into a new branch and will submit a new PR.

gbirchmeier pushed a commit to gbirchmeier/quickfixn that referenced this pull request May 23, 2024
 issue connamara#844

(originally @MichalAssuri's commit 65f675d from
PR connamara#845, but amended andexpanded by @gbirchmeier)
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