From 3dc1c351ec150baf35b2a7e44a42f825f3537de4 Mon Sep 17 00:00:00 2001 From: James Dinh Date: Sat, 13 Aug 2022 00:21:43 -0700 Subject: [PATCH] Changed timer --- js/licenses.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/licenses.js b/js/licenses.js index 1601273..0eab4aa 100644 --- a/js/licenses.js +++ b/js/licenses.js @@ -47,7 +47,7 @@ const tech_emails = document.querySelectorAll('.email-replace-tech'); // Timer // SRC: W3Schools https://www.w3schools.com/howto/howto_js_countdown.asp // Set the date we're counting down to -var countDownDate = new Date("Aug 12, 2022 16:00:00").getTime(); +var countDownDate = new Date("Aug 14, 2022 14:00:00").getTime(); // Update the count down every 1 second var x = setInterval(function() { @@ -74,7 +74,7 @@ if (days != 0) { document.getElementById("timer").innerHTML = days + "d " + hours + "h"; } else if (hours != 0) { - document.getElementById("timer").innerHTML = hours + "h" + minutes + "m"; + document.getElementById("timer").innerHTML = hours + "h " + minutes + "m"; } else { document.getElementById("timer").innerHTML = minutes + "m";