klimeryk / recalendar.js

ReCalendar - create your personalized calendar PDF for ReMarkable tablets
https://recalendar.me/
GNU Affero General Public License v3.0
284 stars 65 forks source link

Handle recurring events in iCal import #111

Closed abusch closed 10 months ago

abusch commented 10 months ago

I have an iCal calendar for birthdays using events that recur every year that I would like to import in the planner, but it seems the iCal import code, when processing the events, checks the date of the initial event (that I created years ago), and since it doesn't match the current year, it just discards it... It would be nice to handle those and check if there is a recurrence in the current year.

Michal-Januszewski commented 10 months ago

I use a local workaround in terminal:

> more calendar.ics | grep -v DESCRIPTION | grep -v birthday | grep -v RRULE | sed 's/VALUE=DATE:20[0-9][0-9]/VALUE=DATE:2024/g' > fixed_calendar.ics

... but it's ugly ;) Igor, it would be perfect to do similar processing in .js, but I'm to weak to do the fix right :)

klimeryk commented 10 months ago

Thanks for the PR, @abusch! 🙇