|
|
|
@ -837,11 +837,11 @@ class Tournament(models.Model): |
|
|
|
|
|
|
|
|
|
|
|
start = timezoned_datetime.replace(hour=0, minute=0) |
|
|
|
start = timezoned_datetime.replace(hour=0, minute=0) |
|
|
|
|
|
|
|
|
|
|
|
print(f"timezoned_datetime: {timezoned_datetime}") |
|
|
|
# print(f"timezoned_datetime: {timezoned_datetime}") |
|
|
|
print(f"tournament end date: {end}") |
|
|
|
# print(f"tournament end date: {end}") |
|
|
|
print(f"current time: {now}") |
|
|
|
# print(f"current time: {now}") |
|
|
|
print(f"tournament start: {start}") |
|
|
|
# print(f"tournament start: {start}") |
|
|
|
print(f"start <= now <= end: {start <= now <= end}") |
|
|
|
# print(f"start <= now <= end: {start <= now <= end}") |
|
|
|
|
|
|
|
|
|
|
|
return start <= now <= end |
|
|
|
return start <= now <= end |
|
|
|
|
|
|
|
|
|
|
|
|