diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt index ac3ced8b1..ecd40014f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt @@ -343,7 +343,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont val events = getEvents(selection) for (e in events) { while (e.startTS < toTS && (e.repeatLimit == 0 || e.repeatLimit > e.endTS)) { - if (e.startTS > fromTS) { + if (e.startTS >= fromTS) { newEvents.add(e.copy()) } e.addIntervalTime()