diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index 617926c..484b702 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -932,7 +932,7 @@ class Tournament(models.Model): # end = self.start_date + timedelta(days=self.day_duration + 1) # return self.start_date.replace(hour=0, minute=0) <= timezone.now() <= end - timezoned_datetime = timezone.localtime(self.start_date) + timezoned_datetime = self.local_start_date() end = timezoned_datetime + timedelta(days=self.day_duration + 1) now = timezone.now()