fix #124, properly set repetition if frequency and count is provided
This commit is contained in:
parent
c8af7f25be
commit
6838ce626a
|
@ -203,6 +203,9 @@ class IcsParser {
|
|||
frequencySeconds = getFrequencySeconds(value)
|
||||
} else if (key == COUNT) {
|
||||
count = value.toInt()
|
||||
if (frequencySeconds != 0) {
|
||||
curRepeatLimit = curStart + count * frequencySeconds
|
||||
}
|
||||
} else if (key == UNTIL) {
|
||||
curRepeatLimit = parseDateTimeValue(value)
|
||||
} else if (key == INTERVAL) {
|
||||
|
|
Loading…
Reference in New Issue