icssc / AntAlmanac

A course exploration and scheduling tool for UCI Anteaters
https://antalmanac.com
MIT License
59 stars 73 forks source link

Past Enrollment Dates are NaN on Safari #947

Closed Douglas-Hong closed 6 months ago

Douglas-Hong commented 8 months ago

In #944, we found that the dates on the x-axis in the past enrollment popup are NaN/NaN/NaN in Safari, as seen in the screenshots in https://github.com/icssc/AntAlmanac/pull/944#pullrequestreview-1926077916. The dates are correct on Chrome and Firefox, but Safari has issues.

It might be helpful to see the response we get from PeterPortal in the queryEnrollmentHistory function in enrollmentHistory.ts. It also might be helpful to look at parsedEnrollmentHistory from queryEnrollmentHistory.

MinhxNguyen7 commented 7 months ago

@KevinWu098 Do you know if this is still the case? I don't have an iPhone to check.

KevinWu098 commented 7 months ago

@KevinWu098 Do you know if this is still the case? I don't have an iPhone to check.

image

Still happening on my end