Include New Year's and New Year's Eve
Signed-off-by: James Ketrenos <james_gitlab@ketrenos.com>
This commit is contained in:
parent
9a1b001538
commit
404d934c55
@ -16,7 +16,7 @@ router.get("/", function(req, res/*, next*/) {
|
||||
let holidays = [], skip = {};
|
||||
|
||||
|
||||
moment("2000-01-01", "YYYY-MM-DD").holidaysBetween("2000-12-31").forEach(function(holiday) {
|
||||
moment("1999-12-31", "YYYY-MM-DD").holidaysBetween("2001-01-01").forEach(function(holiday) {
|
||||
/* Dates with multiple holidays will return an array of items */
|
||||
let names = holiday.isHoliday();
|
||||
if (!Array.isArray(names)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user