Skip to content

Commit

Permalink
Merge pull request #21 from rucksman/isWeekendOrHolidayOrSpecialday
Browse files Browse the repository at this point in the history
Add isWeekendOrHolidayOrSpecialday
  • Loading branch information
Hypnos3 authored Jan 23, 2022
2 parents 6b6bae1 + caf9c8d commit b2f4c58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions german-holidays.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ module.exports = function (RED) {
result.isWeekend = result.isSunday || result.isSaturday;
result.isSunOrHoliday = result.isSunday || result.isHoliday;
result.isWeekendOrHoliday = result.isSaturday || result.isSunday || result.isHoliday;
result.isWeekendOrHolidayOrSpecialday = result.isSaturday || result.isSunday || result.isHoliday || result.isSpecialday;
result.isHolidayOrSpecialday = result.isHoliday || result.isSpecialday;

if (result.isHoliday) {
Expand Down

0 comments on commit b2f4c58

Please sign in to comment.