[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)
- [elpa] externals/denote updated (82424803d0 -> b401e249e9), ELPA Syncer, 2022/08/10
- [elpa] externals/denote 8103476e31 03/14: Simplify docstrings of helper date functions,
ELPA Syncer <=
- [elpa] externals/denote f04fb92eae 13/14: Remove potentially confusing statement in doc, ELPA Syncer, 2022/08/10
- [elpa] externals/denote b201438b70 08/14: Add denote-templates :info link, ELPA Syncer, 2022/08/10
- [elpa] externals/denote 94fb45c486 04/14: Placate the compiler regarding docstring format, ELPA Syncer, 2022/08/10
- [elpa] externals/denote 8c28b4818b 09/14: Remove delete-dups from denote--inferred-keywords, ELPA Syncer, 2022/08/10
- [elpa] externals/denote f3cd705d51 05/14: Clarify doc string, ELPA Syncer, 2022/08/10
- [elpa] externals/denote 94cbaf151e 06/14: Add clarification to Commentary, ELPA Syncer, 2022/08/10
- [elpa] externals/denote 18a210b265 12/14: Add comment about front matter format variables, ELPA Syncer, 2022/08/10
- [elpa] externals/denote 394c5d3e69 10/14: Tweak indentation for stylistic consistency, ELPA Syncer, 2022/08/10
- [elpa] externals/denote b401e249e9 14/14: Clarify comment about duplicate IDs, ELPA Syncer, 2022/08/10
- [elpa] externals/denote e3c099bc25 01/14: Refactor denote--date, ELPA Syncer, 2022/08/10