From d3a6a99e9c1751ec08bed526d4ce7237425cdf73 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 23 Aug 2020 17:06:24 +0200 Subject: Change start/end times to complete timestamps. The way we had this until now with a date and separate start and end times does not really work. There are cases when a screening starts on one day, but ends on the next. By keeping a complete timestamp for both the start and end times, we don't fall into this problem. --- public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/js/app.js b/public/js/app.js index 65bb92f..d661b52 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -19,7 +19,7 @@ function load_screenings(data_done) { let req = new XMLHttpRequest() req.addEventListener("load", data_done) - req.open("GET", "ramaskrik-2019.json") + req.open("GET", "/screenings") req.responseType = "json" req.send() } -- cgit v1.2.3