diff options
Diffstat (limited to 'main.js')
-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) |