|
|
|
@ -947,7 +947,7 @@ class Tournament(BaseModel): |
|
|
|
matches = [m for m in bracket_matches if m.start_date is not None] |
|
|
|
matches = [m for m in bracket_matches if m.start_date is not None] |
|
|
|
if len(matches) == 0: |
|
|
|
if len(matches) == 0: |
|
|
|
return None |
|
|
|
return None |
|
|
|
return min(matches, key=lambda m: m.start_date) |
|
|
|
return min(matches, key=lambda m: m.start_date).start_date |
|
|
|
|
|
|
|
|
|
|
|
def getEightAm(self, date): |
|
|
|
def getEightAm(self, date): |
|
|
|
return date.replace(hour=8, minute=0, second=0, microsecond=0, tzinfo=date.tzinfo) |
|
|
|
return date.replace(hour=8, minute=0, second=0, microsecond=0, tzinfo=date.tzinfo) |
|
|
|
|