Fixed another bug; due-today doesn't use org-roam relative time

This commit is contained in:
Random936 2023-12-05 17:07:33 -08:00
parent 9d2988672b
commit 8547232b53

View File

@ -34,7 +34,9 @@ These functions are for my org roam daily capture template.
(lambda () (lambda ()
(when (member (org-get-todo-state) '("TODO" "IN PROGRESS")) (when (member (org-get-todo-state) '("TODO" "IN PROGRESS"))
(jm/daily-todos-format-link))) (jm/daily-todos-format-link)))
"DEADLINE<=\"<today>\"" (format-time-string
"DEADLINE<=\"<%Y-%m-%d>\""
(or (org-capture-get :default-time) (current-time)))
(org-agenda-files))) (org-agenda-files)))
(defun jm/daily-todos-dynamic-habits (habit week-days) (defun jm/daily-todos-dynamic-habits (habit week-days)