derekantrican / GAS-ICS-Sync

A Google Apps Script for syncing ICS/ICAL files faster than the current Google Calendar speed
GNU General Public License v3.0
1.5k stars 191 forks source link

[Request] - Option to remove future events only (leave past events unchanged) #344

Closed jimstowe closed 1 year ago

jimstowe commented 1 year ago

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

I have the following options set in the script: onlyFutureEvents = false addEventsToCalendar = true modifyExistingEvents = true removeEventsFromCalendar = true

One of the ical feeds that I'm monitoring stops sending "past" events after a few days. I would like those events to remain on the google calendar. I would like an option that adds past AND future, but only removes/modifies current/future events. That would leave past events unchanged.

Additional context

No response

Nickxsch commented 1 year ago

Like splitting up removeEventsFromCalendar into removeFutureEventsFromCalendar = true and removePastEventsFromCalendar = false (with the values set to apply for you in this case). Sounds like a cool feature, yeah.

jonas0b1011001 commented 1 year ago

317 added the option to master branch. You can manually update by following this guide.

Nickxsch commented 1 year ago

Oh wow, apparently, my instance wasn't up to date. Thanks @jonas0b1011001!