aboutsummaryrefslogtreecommitdiff
path: root/libexec/recit-tomorrow
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-tomorrow
parent9e4f34a5989f6be48eaaebf17c8e42e61ebf3d76 (diff)
downloadrecit-bf922c47dedde37e3d97c4bf82f38e7d769fa267.tar.gz
move tomorrow/yesterday/today to entries
Diffstat (limited to 'libexec/recit-tomorrow')
-rwxr-xr-xlibexec/recit-tomorrow9
1 files changed, 1 insertions, 8 deletions
diff --git a/libexec/recit-tomorrow b/libexec/recit-tomorrow
index c5802d1..073912e 100755
--- a/libexec/recit-tomorrow
+++ b/libexec/recit-tomorrow
@@ -1,11 +1,4 @@
#!/usr/bin/env bash
# Usage: recit tomorrow
-# shellcheck source=/dev/null
-source lib/loader
-
-recfile=$(load_recit)
-
-fmt_date=$(perl -e "use POSIX qw(strftime); print strftime('%Y-%m-%d', localtime(time + 86400)), qq(\n);")
-
-recsel -e "(Time >> '$fmt_date 00:00:00' && Time << '$fmt_date 23:59:59') || Time == '$fmt_date'" -t Entry "${recfile}"
+recit-entries -t tomorrow \ No newline at end of file