Include New Year's and New Year's Eve

Signed-off-by: James Ketrenos <james_gitlab@ketrenos.com>
This commit is contained in:
James Ketrenos 2020-01-01 17:24:09 -08:00
parent 9a1b001538
commit 404d934c55

View File

@ -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)) {