From f48c77db0ec355b3e69e160446a55c284b4e8bf0 Mon Sep 17 00:00:00 2001 From: Han Dai <10000@daihan.me> Date: Sun, 21 Aug 2022 21:59:24 +0000 Subject: [PATCH] Update 'covid-speedrun/index.html' --- covid-speedrun/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/covid-speedrun/index.html b/covid-speedrun/index.html index f591160..e216a85 100644 --- a/covid-speedrun/index.html +++ b/covid-speedrun/index.html @@ -89,15 +89,15 @@ var cell2 = row.insertCell(1); cell1.style.color = "#00ff00"; cell2.style.color = "#00ff00"; - // Still Running - cell1.innerHTML = "NOW"; - function now() { - cell2.innerHTML = timeSince(new Date() - timeline["First Positive"]); - } - setInterval(now, 10); - // // Win - // cell1.innerHTML = "🏆 Tested Negative!"; - // cell2.innerHTML = timeSince(new Date("Aug xx, 2022 xx:00:00.000") - timeline["First Positive"]); + // // Still Running + // cell1.innerHTML = "NOW"; + // function now() { + // cell2.innerHTML = timeSince(new Date() - timeline["First Positive"]); + // } + // setInterval(now, 10); + // Win + cell1.innerHTML = "🏆 Tested Negative!"; + cell2.innerHTML = timeSince(new Date("Aug 21, 2022 17:50:57.303") - timeline["First Positive"]); function timeSince(timestamp) {