icssc / AntAlmanac

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

Download ICS: Duplicate calendar events are added #816

Closed JacE070 closed 9 months ago

JacE070 commented 9 months ago

As from Eric,

when we run events through the calenderize helper functions, it returns an event for every day the course is present, and the locations also contains info on which day each location applies. But, then we loop through all the locations and add an event for each day there

This should be fixed or it will mess up users' calendars.

Related PR: https://github.com/icssc/AntAlmanac/pull/742