aboutsummaryrefslogtreecommitdiff
path: root/libexec/recit-today
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlibexec/recit-today11
1 files changed, 1 insertions, 10 deletions
diff --git a/libexec/recit-today b/libexec/recit-today
index 96cbec4..a396e53 100755
--- a/libexec/recit-today
+++ b/libexec/recit-today
@@ -1,13 +1,4 @@
#!/usr/bin/env bash
# Usage: recit today
-set -e
-
-# shellcheck source=/dev/null
-source lib/loader
-
-recfile=$(load_recit)
-
-fmt_date=$(date '+%Y-%m-%d')
-
-recsel -e "(Time >> '$fmt_date 00:00:00' && Time << '$fmt_date 23:59:59') || Time == '$fmt_date'" -t Entry "${recfile}"
+recit-entries -t today