Update new year

This commit is contained in:
MrLetsplay 2024-12-29 22:10:18 +01:00
parent 3aa24357f7
commit 2d7c83cea1
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg

View File

@ -113,7 +113,7 @@ setInterval(() => {
ctx.fillStyle = "orangered";
ctx.textAlign = "center";
ctx.font = "bold 50px Comic Mono";
ctx.fillText("T - " + hours.padStart(2, "0") + ":" + minutes.padStart(2, "0") + ":" + seconds.padStart(2, "0"), canvas.width / 2, canvas.height / 2);
ctx.fillText("T-" + hours.padStart(2, "0") + ":" + minutes.padStart(2, "0") + ":" + seconds.padStart(2, "0"), canvas.width / 2, canvas.height / 2);
ctx.fillStyle = "white";
ctx.fillText(theTime.getHours().toString().padStart(2, '0') + ":" + theTime.getMinutes().toString().padStart(2, '0') + ":" + theTime.getSeconds().toString().padStart(2, '0'), canvas.width / 2, canvas.height / 2 - 150);
@ -127,7 +127,7 @@ setInterval(() => {
text = "The final hour has started ⏱️";
if(minutes == 0 && seconds < 60) {
text = "It's the final countdown 😳"
text = "It's the final countdown 😳";
}
}