|
|
|
@ -932,7 +932,7 @@ class Tournament(models.Model): |
|
|
|
# end = self.start_date + timedelta(days=self.day_duration + 1) |
|
|
|
# end = self.start_date + timedelta(days=self.day_duration + 1) |
|
|
|
# return self.start_date.replace(hour=0, minute=0) <= timezone.now() <= end |
|
|
|
# return self.start_date.replace(hour=0, minute=0) <= timezone.now() <= end |
|
|
|
|
|
|
|
|
|
|
|
timezoned_datetime = self.local_start_date() |
|
|
|
timezoned_datetime = timezone.localtime(self.start_date) |
|
|
|
end = timezoned_datetime + timedelta(days=self.day_duration + 1) |
|
|
|
end = timezoned_datetime + timedelta(days=self.day_duration + 1) |
|
|
|
now = timezone.now() |
|
|
|
now = timezone.now() |
|
|
|
|
|
|
|
|
|
|
|
|