From 160a7bae233f10116473e193f164d2dc791159ee Mon Sep 17 00:00:00 2001 From: HDValentin Date: Sun, 22 Oct 2023 18:27:06 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Etv=5Fprogram.py=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tv_program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))