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

View File

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