diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index f72ba4c..cdd124b 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -2087,6 +2087,9 @@ class Tournament(BaseModel): club_code = club_code.replace(" ", "") return player_club_code.lower() == club_code.lower() + def localized_start_time(self): + return formats.date_format(self.local_start_date(), format='H:i').capitalize() + class MatchGroup: def __init__(self, name, matches, formatted_schedule, round_id=None, round_index=None): self.name = name diff --git a/tournaments/templates/tournaments/tournament_row.html b/tournaments/templates/tournaments/tournament_row.html index d86b27a..cc2c678 100644 --- a/tournaments/templates/tournaments/tournament_row.html +++ b/tournaments/templates/tournaments/tournament_row.html @@ -24,7 +24,7 @@ {% if tournament.name %}