Update exams.html

This commit is contained in:
akp 2025-04-21 18:44:39 +01:00
parent ead7ce8773
commit ca0a4d7f95

View file

@ -64,7 +64,6 @@ title: "Exam Countdown"
const spans = document.querySelectorAll("[data-date]");
const millisecondsToDuration = (ms) => {
console.log(ms);
let ss = String(Math.floor(ms / 1000) % 60).padStart(2, "0");
let mm = String(Math.floor(ms / 1000 / 60) % 60).padStart(2, "0");
let hh = String(Math.floor(ms / 1000 / 60 / 60) % 24).padStart(2, "0");