This commit is contained in:
Boof 2023-06-09 11:26:22 +02:00 committed by GitHub
parent 92155cc9d1
commit de05be1554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ function countdownTimer() {
} }
function countdown() { function countdown() {
const theDate = "2009-06-08"
const now = new Date().getTime(); const now = new Date().getTime();
const nextYear = new Date(theDate).getTime(); const nextYear = new Date(theDate).getTime();
const timeRemaining = nextYear - now; const timeRemaining = nextYear - now;