fix exporting events repeating multiple times a day by x weeks
This commit is contained in:
parent
4f136afae1
commit
4e292e32dd
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue