lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
995 stars 96 forks source link

Recurrence info is lost when importing ics event #239

Open jeromg opened 5 years ago

jeromg commented 5 years ago

Version: 4.5.0

Action: import an ICS file which includes a weekday recurrence

Actual result: event with a weekly recurrence on Mondays

Expected result: recurrence info is preserved for all 5 weekdays

Repro

  1. Import the following ICS event using calcurse -i [filename]
    
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//acme//NONSGML remmy v0.1
    METHOD:PUBLISH

BEGIN:VEVENT ORGANIZER:MAILTO:me@machine UID:6D68F3FD-D4D3-11E9-B96B-CAB4B35793DA LOCATION:see description CLASS:PUBLIC RRULE:FREQ=WEEKLY;WKST=SU;BYDAY=MO,TU,WE,TH,FR DTSTART:20190909T083000 DTEND:20190909T083000 SUMMARY: Check email DESCRIPTION: Check email DTSTAMP:20190911T223335 END:VEVENT

END:VCALENDAR

  Note: this ICS file is generated from a [remind ](https://dianne.skoll.ca/projects/remind/) file using [remmy.pl](https://github.com/smartmic/remmy)

2. In calcurse I only see a weekly event, every Monday morning at 8:30am, nothing for the other weekdays  

3. If I export the data using: calcurse -xical, I get:  

BEGIN:VCALENDAR PRODID:-//calcurse//NONSGML v4.5.0//EN VERSION:2.0 BEGIN:VEVENT DTSTART:20190909T083000 RRULE:FREQ=WEEKLY;INTERVAL=1 SUMMARY:Check email END:VEVENT END:VCALENDAR

lfos commented 5 years ago

BYDAY recurrence rules are not yet supported in calcurse, see #207 for details.

jeromg commented 5 years ago

Cristal clear, thanks for your prompt answer, I'll keep using calcurse anyway. I was just tinkering for some new use case.

Cheers /jerome