From 66e10df943e49ca45e39788627c67e3506c84bfb Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Thu, 30 Sep 2021 12:54:46 +0200 Subject: [PATCH] (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. --- CHANGELOG.md | 1 + extensions/org-roam-dailies.el | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1857070..49b98b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - [#1795](https://github.com/org-roam/org-roam/pull/1795) buffer: optimized reflinks fetch - [#1809](https://github.com/org-roam/org-roam/pull/1809) capture: the mandatory `:if-new` property of each capture template is now renamed to `:target` - [#1829](https://github.com/org-roam/org-roam/pull/1829) perf: file sql updates are now wrapped in a transaction +- [#1877](https://github.com/org-roam/org-roam/pull/1877) dailies: stop asking for time, only date ### Fixed - [#1798](https://github.com/org-roam/org-roam/pull/1798) org-roam-node-at-point: do not skip invisible headings diff --git a/extensions/org-roam-dailies.el b/extensions/org-roam-dailies.el index 4534783..a46cc68 100644 --- a/extensions/org-roam-dailies.el +++ b/extensions/org-roam-dailies.el @@ -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