From dd3864aa9e9d781b8c7a1df4e802bc36d69c6ce9 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Thu, 27 Nov 2025 15:46:43 +0100 Subject: [PATCH] Djournal bugfix --- scripts/Djournal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/Djournal b/scripts/Djournal index 11cabb8..c998a95 100755 --- a/scripts/Djournal +++ b/scripts/Djournal @@ -107,8 +107,11 @@ case * title=`{echo $datefull | awk '{print tolower($0)}'} } +# Always filter by date only (ignore time) to find existing entries for the interval +filtertitle=`{echo $datefull | awk '{print tolower($1 " " $2 " " $3 " " $4)}'} + # Apply filter -echo 'filter title:'''$"title'''' | 9p write denote/ctl +echo 'filter title:'''$"filtertitle'''' | 9p write denote/ctl # Check if there are any results results=`{9p read denote/index}