This script is intended to be used with the ics files outputted by myStudies, to make importing your schedule into your calendar easier.
myStudies does not export recurring events, but instead individual events for every date. This makes it hard if you want to edit them, because you can't edit them as a series.
Call this script with these arguments:
- input ics file
- output ics file name
- start date of events to be considered (choose exactly one week, all events in the given timeframe will be kept with the added weekly recurrence rule)
- end date of events to be considered
the dates should be in the YYYYMMDD format for the script to work. (no separators) important: myStudies only gives events for the future. so choose a start and end week that lies in the future (ideally just next week)
This script requires Python 3 (tested with 3.11) and no other dependencies