add an end date to exported all-day events
This commit is contained in:
parent
3ee76cf9c3
commit
0eb8caa60b
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class IcsExporter {
|
|||
|
||||
if (event.isAllDay) {
|
||||
out.writeLn("$DTSTART;$VALUE=$DATE:${Formatter.getDayCodeFromTS(event.startTS)}")
|
||||
out.writeLn("$DTEND;$VALUE=$DATE:${Formatter.getDayCodeFromTS(event.endTS + DAY)}")
|
||||
} else {
|
||||
event.startTS.let { out.writeLn("$DTSTART:${Formatter.getExportedTime(it)}") }
|
||||
event.endTS.let { out.writeLn("$DTEND:${Formatter.getExportedTime(it)}") }
|
||||
|
|
Loading…
Reference in a new issue