mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix #124, properly set repetition if frequency and count is provided
This commit is contained in:
@@ -203,6 +203,9 @@ class IcsParser {
|
|||||||
frequencySeconds = getFrequencySeconds(value)
|
frequencySeconds = getFrequencySeconds(value)
|
||||||
} else if (key == COUNT) {
|
} else if (key == COUNT) {
|
||||||
count = value.toInt()
|
count = value.toInt()
|
||||||
|
if (frequencySeconds != 0) {
|
||||||
|
curRepeatLimit = curStart + count * frequencySeconds
|
||||||
|
}
|
||||||
} else if (key == UNTIL) {
|
} else if (key == UNTIL) {
|
||||||
curRepeatLimit = parseDateTimeValue(value)
|
curRepeatLimit = parseDateTimeValue(value)
|
||||||
} else if (key == INTERVAL) {
|
} else if (key == INTERVAL) {
|
||||||
|
Reference in New Issue
Block a user