Closed Douglas-Hong closed 6 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.
NaN/NaN/NaN
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.
queryEnrollmentHistory
enrollmentHistory.ts
parsedEnrollmentHistory
@KevinWu098 Do you know if this is still the case? I don't have an iPhone to check.
Still happening on my end
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 inenrollmentHistory.ts
. It also might be helpful to look atparsedEnrollmentHistory
fromqueryEnrollmentHistory
.