Skip to content
Snippets Groups Projects
Commit 89a56718 authored by Christian Pointner's avatar Christian Pointner
Browse files

merged hotfix (add end time to json day schedule, also include date in start/end) into master

parent 3c78c9f3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment