aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerem-K <36844071+Jerem-K@users.noreply.github.com>2020-04-25 05:10:26 +0000
committerLukas Fleischer <lfleischer@calcurse.org>2020-04-28 07:32:44 -0400
commit37d326cbe1b2285cbce8ae55aa953811864b11f8 (patch)
tree61bb3a0c940f8388bb856e1f0e28b82d062fd46a
parent18f50e1dd463dfbe4fc12caf63d9f9ae56a41785 (diff)
downloadcalcurse-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ical.c b/src/ical.c
index f6b9bd9..dd14556 100644
--- a/src/ical.c
+++ b/src/ical.c
@@ -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);