From 2d7c83cea16b189984e1d9c77f871692c5b5267f Mon Sep 17 00:00:00 2001 From: MrLetsplay Date: Sun, 29 Dec 2024 22:10:18 +0100 Subject: [PATCH] Update new year --- special/new-year.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/special/new-year.js b/special/new-year.js index eaf19c3..1202b86 100644 --- a/special/new-year.js +++ b/special/new-year.js @@ -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 😳"; } }