diff --git a/myExpenses/src/main/java/org/totschnig/myexpenses/provider/Archive.kt b/myExpenses/src/main/java/org/totschnig/myexpenses/provider/Archive.kt index 2d0b51ba70..cf25754467 100644 --- a/myExpenses/src/main/java/org/totschnig/myexpenses/provider/Archive.kt +++ b/myExpenses/src/main/java/org/totschnig/myexpenses/provider/Archive.kt @@ -77,7 +77,7 @@ fun SupportSQLiteDatabase.unarchive( } private const val ARCHIVE_SELECTION = - "$KEY_ACCOUNTID = ? AND $KEY_PARENTID is null AND $KEY_STATUS != $STATUS_UNCOMMITTED AND $KEY_DATE > ? AND $KEY_DATE < ?" + "$KEY_ACCOUNTID = ? AND $KEY_PARENTID is null AND $KEY_STATUS != $STATUS_UNCOMMITTED AND $KEY_DATE >= ? AND $KEY_DATE <= ?" /** * @return Cursor of statistics for archive grouped by type: