OpenSUTD / sutd-timetable

.ics generator for timetables
https://opensutd.org/sutd-timetable/
The Unlicense
3 stars 1 forks source link

Closes #7: Add stopgap fix to parse PM timings #6

Closed Yustynn closed 5 years ago

Yustynn commented 5 years ago

Yeah this should do it.

Issue is the date-fns library itself not parsing AM/PM. I guess this is proof that v2 is still in alpha eh @randName.

I'll update the gh-pages after one of you merges

PS: Also updated the term in the production DB

Yustynn commented 5 years ago

Whoops just realized that if people upload their timetables right now, the DB gets incorrect schedule info. For this reason I'm just gonna merge the fix right now myself.