diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-28 19:27:00 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-28 19:27:00 +0200 |
commit | fbe1cf75855860fe0d3b7f2f8564e5ebeb6a3f90 (patch) | |
tree | a0a3a4fd5ba630784a71163f2589537ebdc0171b /static | |
parent | Whitespace cleanup. (diff) | |
download | calp-fbe1cf75855860fe0d3b7f2f8564e5ebeb6a3f90.tar.gz calp-fbe1cf75855860fe0d3b7f2f8564e5ebeb6a3f90.tar.xz |
Fix current time marker.
Diffstat (limited to 'static')
-rw-r--r-- | static/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |