(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

@ -9,6 +9,7 @@
- [#1795](https://github.com/org-roam/org-roam/pull/1795) buffer: optimized reflinks fetch - [#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` - [#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 - [#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 ### Fixed
- [#1798](https://github.com/org-roam/org-roam/pull/1798) org-roam-node-at-point: do not skip invisible headings - [#1798](https://github.com/org-roam/org-roam/pull/1798) org-roam-node-at-point: do not skip invisible headings

View File

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