emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 7cd1461e4b 03/17: Add comment in denote-valid-da


From: ELPA Syncer
Subject: [elpa] externals/denote 7cd1461e4b 03/17: Add comment in denote-valid-date-p
Date: Sun, 10 Nov 2024 00:57:50 -0500 (EST)

branch: externals/denote
commit 7cd1461e4b93f9e02ffc1fa332433b324206cfe7
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Add comment in denote-valid-date-p
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index f581334d8e..24a45666b7 100644
--- a/denote.el
+++ b/denote.el
@@ -2227,7 +2227,7 @@ If DATE is nil or an empty string, return nil."
         ((and (or (numberp date) (listp date))
               (decode-time date))
          date)
-        (t
+        (t ; non-empty strings (e.g. "2024-01-01", "2024-01-01 12:00", etc.)
          (date-to-time (denote--date-add-current-time date)))))
 
 (defun denote-parse-date (date)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]