-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Added rule condition for not a holiday #2043
Conversation
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
The jenkins build for this pull request was aborted after 120min, what could be the root cause of such a long running built? |
I've tuned the builds a bit recently, so let's see if it succeeds this time. 🙂 |
Nice, thanks! |
Looks good in general, but what I dislike a bit is the inherent negation - all the other ephemeris conditions don't do this. |
Hey, I think you're right for most users a "is working day" condition would match, but i think the given "not a holiday" condition is more flexible, as some users may have to work on the weekend days too. |
My issue with "not a holiday" is that it is merely a negation of an existing condition and I'd somewhat want to avoid a proliferation of conditions that way. I agree that this is already the case with "is weekday" and "is weekend", although the negation is not so directly visible. |
I think that "is working day" or any equivalent would intuitively means neither weekend, neither holiday, so perhaps not very elegant but "not an holiday" feels less ambiguous. |
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.
Ok, thanks for your feedback @clinique - then let's go for the less elegant, but also less ambiguous option. :-)
@kaikreuzer Thanks for merging. |
Signed-off-by: Sönke Küper <soenkekueper@gmx.de> GitOrigin-RevId: 65218f8
Fixes #2035
Signed-off-by: Sönke Küper soenkekueper@gmx.de