From fbe1cf75855860fe0d3b7f2f8564e5ebeb6a3f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 28 Apr 2020 19:27:00 +0200 Subject: Fix current time marker. --- static/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/script.js b/static/script.js index b7526ee5..b94e8f06 100644 --- a/static/script.js +++ b/static/script.js @@ -5,7 +5,7 @@ function round_time (time, fraction) { function time_to_percent (time) { // Decimal time - return hour_to_part(time.getHours() + (time.getMinutes() / 60)) + "%" + return (time.getHours() + (time.getMinutes() / 60)) * 100/24 + "%" } function parents_until (element, obj) { -- cgit v1.2.3