„tv_program.py“ ändern
This commit is contained in:
parent
30a5156aac
commit
160a7bae23
@ -58,7 +58,7 @@ def getValues(id, start_time, end_time):
|
|||||||
title = a.get('title')
|
title = a.get('title')
|
||||||
st = a.get('startTime')
|
st = a.get('startTime')
|
||||||
d = a.get('duration')
|
d = a.get('duration')
|
||||||
start = time.strftime("%-H:%M", time.localtime(st))
|
start = time.strftime("%H:%M", time.localtime(st))
|
||||||
# Split the start time into hours and minutes
|
# Split the start time into hours and minutes
|
||||||
start_hours, start_minutes = map(int, start.split(":"))
|
start_hours, start_minutes = map(int, start.split(":"))
|
||||||
day = time.strftime("%d", time.localtime(int(st)))
|
day = time.strftime("%d", time.localtime(int(st)))
|
||||||
|
Loading…
Reference in New Issue
Block a user