This commit is contained in:
Boof 2023-06-09 11:21:39 +02:00 committed by GitHub
parent 010fc4091b
commit 05173abde0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ function countdownTimer() {
const now = new Date().getTime();
const nextYear = new Date(theDate).getTime();
const timeRemaining = nextYear - now;
if (nextYear < 0) {
if (timeRemaining < 0) {
year = year + 1
countdownTimer()
} else {