aboutsummaryrefslogtreecommitdiff
path: root/libexec/recit-today
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-08-21 02:44:05 +0000
committerJulio Capote <jcapote@gmail.com>2022-08-21 02:44:05 +0000
commitbf922c47dedde37e3d97c4bf82f38e7d769fa267 (patch)
tree14c2c8a17250f93a0248bd9b887fa8562c26a345 /libexec/recit-today
parent9e4f34a5989f6be48eaaebf17c8e42e61ebf3d76 (diff)
downloadrecit-bf922c47dedde37e3d97c4bf82f38e7d769fa267.tar.gz
move tomorrow/yesterday/today to entries
Diffstat (limited to 'libexec/recit-today')
-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