Couchers-org / couchers

The next-generation couch surfing platform. Free forever. Community‑led. Non‑profit. Modern. Chuck us a star :)

Home Page:https://couchers.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RangeError: invalid time zone in DateTimeFormat():

sentry-io opened this issue · comments

Sentry Issue: FRONTEND-383

React ErrorBoundary Error: invalid time zone in DateTimeFormat(): 
  at RemainingAboutLabels (./features/profile/view/userLabels.tsx:124:44)
  at About (./features/profile/view/About.tsx:25:31)
  at UserTabContext (./features/profile/view/UserTabContext.tsx:5:40)
  at UserCard (./features/profile/view/UserCard.tsx:33:34)
  at ProfileUserProvider (./features/profile/hooks/useProfileUser.tsx:14:37)
...
(26 additional frame(s) were not displayed)

RangeError: invalid time zone in DateTimeFormat(): 
  at RemainingAboutLabels (./features/profile/view/userLabels.tsx:153:23)
  at h (./features/reactQueryClient.tsx:37:5)
  at <unknown> (/_next/static/chunks/main-392d2de6ab3bda53.js:9:85)
...
(45 additional frame(s) were not displayed)

This occurs with very old accounts that don't have a timezone. I don't know if it matters right now, there's 19-35 of them at the moment.

Also once we do profile hiding I imagine this will be a non-issue.