aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com> 2021-02-06 17:14:57 +0100
committerMango0x45 <thomasvoss@live.com> 2021-02-06 17:14:57 +0100
commit0600897369b08786aa737c389c9fa76289b3d961 (patch)
tree846d5d5e3bf8101f820e3ad89a0df5a0a00888aa
parent0812963d3d98ddeae86802559100f9a16d437df8 (diff)
Fix milliseconds bbug
-rw-r--r--main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.js b/main.js
index 893e7a7..c587806 100644
--- a/main.js
+++ b/main.js
@@ -29,7 +29,7 @@ function time_format(t)
{
const h = ~~(t / 3600);
const m = ~~((t % 3600) / 60);
- const s = ~~t % 60;
+ const s = t % 60;
let ret = "";
if (h > 0)