diff options
author | Henrik Grimler <henrik@grimler.se> | 2019-03-27 18:32:36 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-04-13 11:55:39 +0200 |
commit | d9aea39713d1fee9e0293174013dffa24a800c41 (patch) | |
tree | e7fd1ff92f4745acc645167193a40be340d49010 | |
parent | 78a46ac7cbae997979d7c1394328d3d44f9f1df4 (diff) | |
download | calcurse-d9aea39713d1fee9e0293174013dffa24a800c41.tar.gz calcurse-d9aea39713d1fee9e0293174013dffa24a800c41.zip |
Use ICALDATETIMEFMT for EXDATE
Some servers (Radicale) cannot handle YYYYMM.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r-- | src/ical.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |