HackAtUCI / Club-Site

Home Page:https://hack.ics.uci.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upcoming events are shown under the "Past Events" section for some web browsers

ChaseC99 opened this issue · comments

As seen below, upcoming events (such as ZotHacks) is shown under "Past Events" for some mobile browsers. Riley was able to repo this on Chrome and Zach was able to repo this on Safari. Chase was unable to repo on Safari.

(Screenshot courtesy of Zach)

The logic determining whether an event is "Upcoming" or "Past" is determined on the frontend in Events.js.

Our current theory is that some web browsers compute the current time differently than others, resulting in an upcoming event to be mislabeled as a past event.