We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9df08f + 50445db commit 15fb43cCopy full SHA for 15fb43c
backend/routers/sessions.py
@@ -57,6 +57,13 @@ def _build_events(year: int) -> dict:
57
else:
58
session["available"] = False
59
60
+ # Normalize date_utc to ISO 8601 with "Z" so the browser
61
+ # correctly interprets them as UTC and converts to local time
62
+ for session in evt.get("sessions", []):
63
+ d = session.get("date_utc")
64
+ if d and not d.endswith("Z"):
65
+ session["date_utc"] = d.replace(" ", "T") + "Z"
66
+
67
if has_past_session:
68
evt["status"] = "available"
69
last_past_idx = i
0 commit comments