diff --git a/tv_program.py b/tv_program.py index 0d53eab..64483e1 100644 --- a/tv_program.py +++ b/tv_program.py @@ -58,7 +58,7 @@ def getValues(id, start_time, end_time): title = a.get('title') st = a.get('startTime') 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 start_hours, start_minutes = map(int, start.split(":")) day = time.strftime("%d", time.localtime(int(st)))