From c245d2761ca66e1b559d1df0c979eebb1dad18c7 Mon Sep 17 00:00:00 2001 From: Josue L <69768362+MXJosueDev@users.noreply.github.com> Date: Wed, 18 Dec 2024 09:45:46 -0600 Subject: [PATCH] Fix event date --- assets/js/timer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/timer.js b/assets/js/timer.js index a4bcd10..54710bf 100644 --- a/assets/js/timer.js +++ b/assets/js/timer.js @@ -16,10 +16,10 @@ document.addEventListener('DOMContentLoaded', function () { function countdown() { const currentDate = new Date(); - // const eventDate = new Date(`${currentDate.getFullYear()}-12-25T00:00:00`); - const eventDate = new Date( - `${currentDate.getFullYear()}-12-18T09:44:00` - ); + const eventDate = new Date(`${currentDate.getFullYear()}-12-25T00:00:00`); + // const eventDate = new Date( + // `${currentDate.getFullYear()}-12-18T09:44:00` + // ); if (eventDate <= currentDate) { countdownWrapper.classList.add('happy');