From 570c7c84be25681776dff02125d4289ce6085fe8 Mon Sep 17 00:00:00 2001 From: Michcio Date: Tue, 27 Sep 2022 18:23:10 +0200 Subject: [PATCH] Fix time formatting in redeems dashboard --- tlapbot/templates/dashboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tlapbot/templates/dashboard.html b/tlapbot/templates/dashboard.html index 163cf72..f4865e2 100644 --- a/tlapbot/templates/dashboard.html +++ b/tlapbot/templates/dashboard.html @@ -22,7 +22,7 @@ {% for row in queue %} - {{ row[0].replace(tzinfo=utc_timezone).astimezone().hour}}:{{row[0].replace(tzinfo=utc_timezone).astimezone().minute }} + {{ row[0].replace(tzinfo=utc_timezone).astimezone().strftime("%H:%M") }} {{ row[1] }} {{ row[2] }} @@ -30,4 +30,4 @@ {% endif %} - \ No newline at end of file +