From 187036a27a118fb8ddb85c308623d8c3a63efb18 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Fri, 27 Dec 2024 20:14:46 +0000 Subject: [PATCH] christmas stops on jan 1st --- res/js/dynamic-content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/js/dynamic-content.js b/res/js/dynamic-content.js index 5dcb291..54700f7 100644 --- a/res/js/dynamic-content.js +++ b/res/js/dynamic-content.js @@ -21,6 +21,6 @@ function isItChristmas() { const currentDate = new Date(); const currentYear = currentDate.getFullYear(); const startDate = new Date(`${currentYear}-11-10`); - const endDate = new Date(`${currentYear + 1}-03-01`); + const endDate = new Date(`${currentYear + 1}-01-01`); return currentDate > startDate && currentDate < endDate; }