From 37d326cbe1b2285cbce8ae55aa953811864b11f8 Mon Sep 17 00:00:00 2001
From: Jerem-K <36844071+Jerem-K@users.noreply.github.com>
Date: Sat, 25 Apr 2020 05:10:26 +0000
Subject: Fix formatting of DTSTART for recurrent events

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
---
 src/ical.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

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);
 
-- 
cgit v1.2.3-70-g09d2