summary refs log tree commit diff
path: root/scoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'scoop.c')
-rw-r--r--scoop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index f49f09a..9605530 100644
--- a/scoop.c
+++ b/scoop.c
@@ -402,7 +402,8 @@ int main(int argc, char *argv[]) {
 	for (int opt; 0 < (opt = getopt(argc, argv, Opts));) {
 		switch (opt) {
 			break; case 'D': {
-				append(where, SQL(AND date(events.time) = date(:date)));
+				append(where, SQL(AND events.time >= date(:date)));
+				append(where, SQL(AND events.time < date(:date, '+1 day')));
 				binds[n++] = Bind(":date", optarg, 0);
 			}
 			break; case 'F': {
a href='/src/commit/install.sh?id=4885b462ab5f33941e0ba46f02e48082d18dcfa2&follow=1'>Remove -j4 from ./PlanJune McEnroe Plan learned to set this automatically! 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe