view data tests
Some checks failed
Contract Testing / contract-tests (pull_request) Failing after 5m48s
Contract Testing / contract-snapshot (pull_request) Has been skipped

This commit is contained in:
2026-01-22 17:27:08 +01:00
parent a165ac9b65
commit c22e26d14c
13 changed files with 4841 additions and 2438 deletions

View File

@@ -9,7 +9,7 @@ export class LeagueScheduleViewDataBuilder {
leagueId: apiDto.leagueId,
races: apiDto.races.map((race) => {
const scheduledAt = new Date(race.date);
const isPast = scheduledAt.getTime() < now.getTime();
const isPast = scheduledAt.getTime() <= now.getTime();
const isUpcoming = !isPast;
return {