fix exporting events repeating multiple times a day by x weeks

This commit is contained in:
tibbi 2017-04-16 12:28:41 +02:00
parent 4f136afae1
commit 4e292e32dd
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class IcsExporter {
} }
private fun getByDay(event: Event): String { private fun getByDay(event: Event): String {
return if (event.repeatInterval != WEEK) { return if (event.repeatInterval == 0 || event.repeatInterval % WEEK != 0) {
"" ""
} else { } else {
val days = getByDayString(event.repeatRule) val days = getByDayString(event.repeatRule)