branch: externals/denote-journal
commit 9f2b4cab21cf2c03b97144f751ea692372a94b52
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Pad with zero single digit numbers in denote-journal-calendar--get-files
    
    Otherwise we do not get the corrent regular expresion to match Denote
    file names.
---
 denote-journal.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-journal.el b/denote-journal.el
index 6ee4bdd7ef..7086790355 100644
--- a/denote-journal.el
+++ b/denote-journal.el
@@ -329,7 +329,7 @@ file's title.  This has the same meaning as in 
`denote-link'."
                (years (list previous-year current-year next-year))
                (months (list previous-month current-month next-month))
                (time-regexp (concat (regexp-opt (mapcar #'number-to-string 
years))
-                                    (regexp-opt (mapcar #'number-to-string 
months))))
+                                    (regexp-opt (mapcar (lambda (number) 
(format "%02d" number)) months))))
                (keyword-regexp (denote-journal--keyword-regex)))
     (denote-directory-files
      ;; NOTE 2025-03-31: This complex regular expression is to account

Reply via email to