Skip to content

Commit

Permalink
Archive must include transactions at start and end of day
Browse files Browse the repository at this point in the history
  • Loading branch information
mtotschnig committed Nov 3, 2024
1 parent 03c2f6c commit 225dc7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 225dc7f

Please sign in to comment.