From 8547232b53d7c098160d13358899d69c8a5969dd Mon Sep 17 00:00:00 2001 From: Random936 Date: Tue, 5 Dec 2023 17:07:33 -0800 Subject: [PATCH] Fixed another bug; due-today doesn't use org-roam relative time --- .emacs.d/functions.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.emacs.d/functions.org b/.emacs.d/functions.org index a992412..193529b 100644 --- a/.emacs.d/functions.org +++ b/.emacs.d/functions.org @@ -34,7 +34,9 @@ These functions are for my org roam daily capture template. (lambda () (when (member (org-get-todo-state) '("TODO" "IN PROGRESS")) (jm/daily-todos-format-link))) - "DEADLINE<=\"\"" + (format-time-string + "DEADLINE<=\"<%Y-%m-%d>\"" + (or (org-capture-get :default-time) (current-time))) (org-agenda-files))) (defun jm/daily-todos-dynamic-habits (habit week-days)