jspricke / python-remind

Python library to convert between Remind and iCalendar
GNU General Public License v3.0
13 stars 6 forks source link

Empty quotation sequence #22

Closed walderich closed 5 months ago

walderich commented 5 months ago

I am trying to synchronize my reminders with a CalDAV server. After struggling with some issues of the official release 0.18.0, I installed the current master branch. Now I finally see all of my reminders in the calendar.

Now I have a special event, which is defined like this: MSG Sunrise [sunrise(trigdate())] - [sunset(trigdate())]%"%" Unfortunately this event is now added to each day of the calendar in the form Sunrise 09:24 - 17:51%"%". But the documentation (i.e. man remind) states:

If you use the sequence %"%" in a MSG or CAL-type reminder, then no calendar entry is produced for that reminder.

I guess events with this special sequence should be ignored, as the message is actually empty. Other events with non-empty quotations are parsed and displayed correctly.

jspricke commented 5 months ago

Thanks for pointing out, I have pushed a fix to master.