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

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

[elpa] externals/denote 8103476e31 03/14: Simplify docstrings of helper


From: ELPA Syncer
Subject: [elpa] externals/denote 8103476e31 03/14: Simplify docstrings of helper date functions
Date: Wed, 10 Aug 2022 01:57:29 -0400 (EDT)

branch: externals/denote
commit 8103476e311983972b65574d81920ae63692a3e6
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Simplify docstrings of helper date functions
---
 denote.el | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/denote.el b/denote.el
index 9104d643e4..8c9bab6d48 100644
--- a/denote.el
+++ b/denote.el
@@ -753,20 +753,17 @@ provided by `denote'. FILETYPE is one of the values of
 ;; Adapted from `org-hugo--org-date-time-to-rfc3339' in the `ox-hugo'
 ;; package: <https://github.com/kaushalmodi/ox-hugo>.
 (defun denote--date-rfc3339 (date)
-  "Format date using the RFC3339 specification.
-If DATE is nil, use the current date."
+  "Format date using the RFC3339 specification."
   (replace-regexp-in-string
    "\\([0-9]\\{2\\}\\)\\([0-9]\\{2\\}\\)\\'" "\\1:\\2"
    (format-time-string "%FT%T%z" date)))
 
 (defun denote--date-org-timestamp (date)
-  "Format date using the Org inactive timestamp notation.
-If DATE is nil, use the current date."
+  "Format date using the Org inactive timestamp notation."
   (format-time-string "[%F %a %R]" date))
 
 (defun denote--date-iso-8601 (date)
-  "Format date according to ISO 8601 standard.
-If DATE is nil, use the current date."
+  "Format date according to ISO 8601 standard."
   (format-time-string "%F" date))
 
 (defun denote--date (date file-type)



reply via email to

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