diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2023-03-11 17:44:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 17:44:01 +0100 |
commit | 835f007b675e06033daf55aa0b98b0cbb5ca675c (patch) | |
tree | 095820a5d4a9fdbbba34bdd07413baceda131fb8 /storage | |
parent | 95b97b6f49e96c659c2ef09a81c93b040a99f888 (diff) | |
download | AntennaPod-835f007b675e06033daf55aa0b98b0cbb5ca675c.zip |
Make statistics filter start at 00:00 (#6371)
Diffstat (limited to 'storage')
-rw-r--r-- | storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java index c870e35de..849110a22 100644 --- a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java +++ b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java @@ -1193,7 +1193,7 @@ public class PodDBAdapter { + TABLE_NAME_FEED_MEDIA + "." + KEY_POSITION + "> 0"; } final String timeFilter = lastPlayedTime + ">=" + timeFilterFrom - + " AND " + lastPlayedTime + "<=" + timeFilterTo; + + " AND " + lastPlayedTime + "<" + timeFilterTo; String playedTime = TABLE_NAME_FEED_MEDIA + "." + KEY_PLAYED_DURATION; if (includeMarkedAsPlayed) { playedTime = "(CASE WHEN " + playedTime + " != 0" |