(fix)dailies: stop asking for time, only date (#1877)

There is no reason `org-roam-dailies-capture-date' should ask for a
time as only a date is necessary.
This commit is contained in:
Damien Cassou
2021-09-30 12:54:46 +02:00
committed by GitHub
parent d2fc4be73b
commit 66e10df943
2 changed files with 4 additions and 3 deletions

View File

@@ -192,9 +192,9 @@ With a `C-u' prefix or when GOTO is non-nil, go the note without
creating an entry."
(interactive "P")
(let ((time (let ((org-read-date-prefer-future prefer-future))
(org-read-date t t nil (if goto
"Find daily-note: "
"Capture to daily-note: ")))))
(org-read-date nil t nil (if goto
"Find daily-note: "
"Capture to daily-note: ")))))
(org-roam-dailies--capture time goto)))
;;;###autoload