From a245b6ff0f27568bd304803a98c4a96619892470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 29 Nov 2023 09:08:10 +0100 Subject: [PATCH] Fix longest session formatting Put space between hours and minutes --- games/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/views.py b/games/views.py index 07ad879..fc7d9a9 100644 --- a/games/views.py +++ b/games/views.py @@ -470,7 +470,7 @@ def stats(request, year: int = 0): "backlog_decrease_count": backlog_decrease_count, "longest_session_time": format_duration( longest_session.duration if longest_session else timedelta(0), - "%2.0Hh%2.0mm", + "%2.0Hh %2.0mm", ), "longest_session_game": longest_session.purchase.edition.name, "highest_session_count": game_highest_session_count.session_count,