properly export the COUNT value

This commit is contained in:
tibbi 2017-04-23 22:43:59 +02:00
parent 243e28cb1e
commit 68cfefe061
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ class IcsExporter {
private fun getRepeatLimitString(event: Event): String {
return if (event.repeatLimit == 0)
""
else if (event.repeatLimit < 0)
";$COUNT=${-event.repeatLimit}"
else
";$UNTIL=${Formatter.getDayCodeFromTS(event.repeatLimit)}"
}