properly display events starting at midnight

This commit is contained in:
tibbi 2017-02-21 20:14:04 +01:00
parent 178fac5ad7
commit 70dc7e07cf
1 changed files with 1 additions and 1 deletions

View File

@ -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()