diff options
author | Mango0x45 <thomasvoss@live.com> | 2021-02-03 18:15:06 +0100 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2021-02-03 18:15:06 +0100 |
commit | 6022f1333cec4f10da7484e2e7dc78a54e447ac8 (patch) | |
tree | 623015528e8851e513284c116a449665d5a2647e | |
parent | add7c63d4c5a859b1fddab8077b6c94afa8b38fb (diff) |
Used wrong var names, oops
-rw-r--r-- | main.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,9 +29,9 @@ function compute() /* Convert seconds to human readable time */ function time_format(t) { - const h = ~~(time / 3600); - const m = ~~((time % 3600) / 60); - const s = ~~time % 60; + const h = ~~(t / 3600); + const m = ~~((t % 3600) / 60); + const s = ~~t % 60; let ret = ""; if (h > 0) |