properly display events starting at midnight
This commit is contained in:
parent
178fac5ad7
commit
70dc7e07cf
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue