dengste / org-caldav

Caldav sync for Emacs orgmode
GNU General Public License v3.0
712 stars 105 forks source link

Past events #266

Closed deb75 closed 1 year ago

deb75 commented 1 year ago

Hi,

When syncing from org to external calendar (outlook), I noticed that past events are also pushed to the external calendar.

Is there a way to prevent org-caldav to sync, from org to external calendars, events that are outdated from a given number of days ? Typically, event old by one year and more are not worth syncing.

I ask this because these past events usually produces sync errors and also, take some time to being synced, as they become numerous with time.

Regards

jackkamm commented 1 year ago

I think the variable org-caldav-days-in-past should achieve what you want. Does it work for you?

MaxSchlueter commented 1 year ago

I'm looking for the same functionality. I actually don't want to keep the remote calendar clean, it should contain all the events. Instead I want to only synchronize events to an org file that are not older than X. Is this possible?