summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/views.py3
1 files changed, 2 insertions, 1 deletions
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