From 36cd104f321c4a234f22faf75534b4ff786ec9e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 12 Jul 2020 15:56:10 +0200 Subject: Fixed display end time of short events. --- static/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/script.js b/static/script.js index f54ab2d8..1679c74e 100644 --- a/static/script.js +++ b/static/script.js @@ -468,7 +468,7 @@ function bind_properties (el) { } if (el.properties.dtend) { - el.properties.dtend = new Date(el.properties.dtstart); + el.properties.dtend = new Date(el.properties.dtend); el.properties["_slot_dtend"].push( [el.style, (s, v) => s.bottom = (100 - date_to_percent(v)) + "%"]); } -- cgit v1.2.3