diff options
author | Julio Capote <jcapote@gmail.com> | 2022-08-21 02:44:05 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-08-21 02:44:05 +0000 |
commit | bf922c47dedde37e3d97c4bf82f38e7d769fa267 (patch) | |
tree | 14c2c8a17250f93a0248bd9b887fa8562c26a345 /libexec/recit-tomorrow | |
parent | 9e4f34a5989f6be48eaaebf17c8e42e61ebf3d76 (diff) | |
download | recit-bf922c47dedde37e3d97c4bf82f38e7d769fa267.tar.gz |
move tomorrow/yesterday/today to entries
Diffstat (limited to 'libexec/recit-tomorrow')
-rwxr-xr-x | libexec/recit-tomorrow | 9 |
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 |