From d2a9630b048ef3a3a1721d7c1db2abb2902e1aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 1 Oct 2023 21:51:32 +0200 Subject: [PATCH] Fix date range on game overview --- games/templates/view_game.html | 4 ++-- games/views.py | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/games/templates/view_game.html b/games/templates/view_game.html index 2667a93..1e2a210 100644 --- a/games/templates/view_game.html +++ b/games/templates/view_game.html @@ -7,7 +7,7 @@ {% block content %}

{{ game.name }} (#{{ game.pk }})

-

{{ total_playtime }} ({{ first_session.timestamp_end | date:"M Y"}} — {{ first_session.timestamp_end | date:"M Y"}})

+

{{ total_playtime }} ({{ first_session.timestamp_end | date:"M Y"}} — {{ last_session.timestamp_end | date:"M Y"}})


Editions