Project

General

Profile

Actions

Bug #2

closed

Game dates displayed in wrong timezone on public team page

Added by William Lang about 2 months ago. Updated about 2 months ago.

Status:
Done
Priority:
Medium
Assignee:
Start date:
12/30/2025
Due date:
% Done:

100%

Estimated time:

Description

Problem

Game dates for both Recent Games and Upcoming Games are displayed in the wrong time zone on the public team page.

Expected Behavior

Game dates should be displayed in the user's local timezone or a consistent timezone (likely ET for NHL games).

Current Behavior

Dates are showing in an incorrect timezone.

Location

Public team page

Actions #1

Updated by William Lang about 2 months ago

  • Assignee set to William Lang
Actions #2

Updated by William Lang about 2 months ago

  • % Done changed from 0 to 100

Fixed timezone issue in all public-facing pages. Game dates were being parsed as UTC midnight and converted to local timezone, causing date shifts for users in certain timezones.

Solution: Parse date strings explicitly as local dates by splitting YYYY-MM-DD format and constructing Date objects with components.

Files updated:

  • TeamSchedule.jsx (Recent/Upcoming games)
  • Scoreboard.jsx (scoreboard dates)
  • Highlights.jsx (highlight cards)
  • Game.jsx (game header and title)

Commit: babc632

Actions #3

Updated by William Lang about 2 months ago

  • Status changed from Backlog to In Progress
Actions #4

Updated by William Lang about 2 months ago

  • Status changed from In Progress to Done
Actions

Also available in: Atom PDF