about summary refs log tree commit diff
path: root/scoop.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-18 02:14:29 -0500
committerJune McEnroe <june@causal.agency>2020-01-18 02:14:29 -0500
commit11fe55be9f1e7570c3a5d8d011b737e560012cde (patch)
tree7b5c93491439b10cd9aebbb59d3cc6f5cbccd1f8 /scoop.c
parentRearrange code in scoop (diff)
downloadlitterbox-11fe55be9f1e7570c3a5d8d011b737e560012cde.tar.gz
litterbox-11fe55be9f1e7570c3a5d8d011b737e560012cde.zip
Use < for before
Diffstat (limited to '')
-rw-r--r--scoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index 7b0afe2..922c7cd 100644
--- a/scoop.c
+++ b/scoop.c
@@ -299,7 +299,7 @@ static const char *Inner = SQL(
 		AND coalesce(contexts.query = :query, true)
 		AND coalesce(date(events.time) = date(:date), true)
 		AND coalesce(events.time >= datetime(:after), true)
-		AND coalesce(events.time <= datetime(:before), true)
+		AND coalesce(events.time < datetime(:before), true)
 		AND coalesce(events.type = :type, true)
 		AND coalesce(names.nick = :nick, true)
 		AND coalesce(names.user = :user, true)