dengste / org-caldav

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

Add conversion cal->org for recurring task #217

Closed hubearth closed 4 days ago

hubearth commented 4 years ago
hubearth commented 4 years ago

In nextcloud, caldav contains some data about recurring event. They can be found in RRULE

FREQ is a string defining the 'recurring unit', like "WEEKLY" "MONTHLY" "YEARLY". INTERVAL is an integer defining how many units separate each occurance.

In org-mode, recurring event are managed by adding a notation at the end of the time stamp (see orgmode.org). For exemple, an event occuring each two weeks would have a caldav RRULE value of "FREQ=WEEKLY;INTERVAL=2" that is converted as "+2w" in org-mode.

As for the org->cal convertion, icalendar takes care of it all without any modification in org-caldav.el

real-or-random commented 3 years ago

How does this relate to https://github.com/dengste/org-caldav/pull/216 ?

jackkamm commented 4 days ago

This PR is obsolete now due to https://github.com/dengste/org-caldav/pull/308

However it was a useful reference for me while I was implementing #308, so thank you for submitting this originally.