- getUpcomingScoringEvents: fall back to eventStartsAt.toISOString() when no game-level scheduledAt exists, matching the same pattern already used in getUpcomingEventsForDraftedParticipants — prevents F1/golf events from showing a date with no time in SportSeasonCard and similar consumers - EventSchedule: replace bare toLocaleTimeString call with an isNaN-guarded block so a malformed timestamp renders nothing instead of "Invalid Date" - database/schema.ts: add index on tournament_groups(scoring_event_id) to support the inArray filter added in the previous commit (run npm run db:generate && npm run db:migrate to apply) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KiVGo8gSBXe3WuRniVNKsd |
||
|---|---|---|
| .. | ||
| context.browser-stub.ts | ||
| context.ts | ||
| schema.ts | ||