From 89a5671850ac13d13b6db7993eada9a7d06fba44 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Wed, 20 Apr 2016 14:58:20 +0200
Subject: [PATCH] merged hotfix (add end time to json day schedule, also
 include date in start/end) into master

---
 program/views.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/program/views.py b/program/views.py
index bd041150..b4c2e8c5 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
-- 
GitLab