branch: externals/denote-journal commit 36c4fd60ce177cd31f0e983c5b2a3689352f22d7 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Clarify doc string of denote-journal-calendar--date-to-time --- denote-journal.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote-journal.el b/denote-journal.el index 21154d82cf..e363edf92c 100644 --- a/denote-journal.el +++ b/denote-journal.el @@ -331,7 +331,7 @@ Return (MONTH DAY YEAR) or nil if not an Org time-string." (defun denote-journal-calendar--date-to-time (calendar-date) "Return internal time of `calendar' CALENDAR-DATE. -CALENDAR-DATE is commensurate with `calendar-cursor-to-date'." +CALENDAR-DATE is a list of three numbers, in the form of (MONTH DAY YEAR)." (pcase-let ((`(,month ,day ,year) calendar-date) (time (format-time-string "%T"))) (date-to-time (format "%s-%02d-%02d %s" year month day time))))