branch: externals/denote-journal commit 807e16e8e5cef14ad05fea8f3895b704037cc733 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Update the denote-journal-calendar--file-to-date doc string --- denote-journal.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/denote-journal.el b/denote-journal.el index dc3e0cd250..b7501c8c82 100644 --- a/denote-journal.el +++ b/denote-journal.el @@ -291,8 +291,7 @@ file's title. This has the same meaning as in `denote-link'." "Face to mark a Denote journal entry in the `calendar'.") (defun denote-journal-calendar--file-to-date (file) - "Convert FILE to date. -Return (MONTH DAY YEAR) or nil if not an Org time-string." + "Convert FILE to calendar date by interpreting its identifier." (when-let* ((identifier (denote-retrieve-filename-identifier file)) (date (denote--id-to-date identifier)) (numbers (mapcar #'string-to-number (split-string date "-"))))