diff options
author | Jerem-K <36844071+Jerem-K@users.noreply.github.com> | 2020-04-25 05:10:26 +0000 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2020-04-28 07:32:44 -0400 |
commit | 37d326cbe1b2285cbce8ae55aa953811864b11f8 (patch) | |
tree | 61bb3a0c940f8388bb856e1f0e28b82d062fd46a | |
parent | 18f50e1dd463dfbe4fc12caf63d9f9ae56a41785 (diff) | |
download | calcurse-37d326cbe1b2285cbce8ae55aa953811864b11f8.tar.gz calcurse-37d326cbe1b2285cbce8ae55aa953811864b11f8.zip |
Fix formatting of DTSTART for recurrent events
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r-- | src/ical.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ static void ical_export_recur_events(FILE * stream, int export_uid) struct recur_event *rev = LLIST_GET_DATA(i); date_sec2date_fmt(rev->day, ICALDATEFMT, ical_date); fputs("BEGIN:VEVENT\n", stream); - fprintf(stream, "DTSTART:%s\n", ical_date); + fprintf(stream, "DTSTART;VALUE=DATE:%s\n", ical_date); fprintf(stream, "RRULE:FREQ=%s;INTERVAL=%d", ical_recur_type[rev->rpt->type], rev->rpt->freq); |