From 89a5671850ac13d13b6db7993eada9a7d06fba44 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 20 Apr 2016 14:58:20 +0200 Subject: merged hotfix (add end time to json day schedule, also include date in start/end) into master diff --git a/program/views.py b/program/views.py index bd04115..b4c2e8c 100644 --- a/program/views.py +++ b/program/views.py @@ -199,7 +199,8 @@ def json_day_schedule(request, year=None, month=None, day=None): schedule = [] for ts in timeslots: entry = { - 'start': ts.start.strftime('%H:%M:%S'), + 'start': ts.start.strftime('%Y-%m-%d_%H:%M:%S'), + 'end': ts.end.strftime('%Y-%m-%d_%H:%M:%S'), 'title': ts.programslot.show.name, 'id': ts.programslot.show.id, 'automation-id': -1 -- cgit v0.10.2