summaryrefslogtreecommitdiffstats
path: root/src/ical.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ical.c')
-rw-r--r--src/ical.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ical.c b/src/ical.c
index b5c915a..95489a0 100644
--- a/src/ical.c
+++ b/src/ical.c
@@ -123,7 +123,7 @@ static void ical_export_recur_events(FILE * stream, int export_uid)
fputs("EXDATE:", stream);
LLIST_FOREACH(&rev->exc, j) {
struct excp *exc = LLIST_GET_DATA(j);
- date_sec2date_fmt(exc->st, ICALDATEFMT,
+ date_sec2date_fmt(exc->st, ICALDATETIMEFMT,
ical_date);
fprintf(stream, "%s", ical_date);
fputc(LLIST_NEXT(j) ? ',' : '\n', stream);
@@ -202,7 +202,7 @@ static void ical_export_recur_apoints(FILE * stream, int export_uid)
fputs("EXDATE:", stream);
LLIST_FOREACH(&rapt->exc, j) {
struct excp *exc = LLIST_GET_DATA(j);
- date_sec2date_fmt(exc->st, ICALDATEFMT,
+ date_sec2date_fmt(exc->st, ICALDATETIMEFMT,
ical_date);
fprintf(stream, "%s", ical_date);
fputc(LLIST_NEXT(j) ? ',' : '\n', stream);