Function: denote-date-rfc3339
denote-date-rfc3339 is a byte-compiled function defined in denote.el.
Signature
(denote-date-rfc3339 DATE)
Documentation
Format DATE using the RFC3339 specification.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;; 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
(replace-regexp-in-string
"\\([0-9]\\{2\\}\\)\\([0-9]\\{2\\}\\)\\'" "\\1:\\2"
(format-time-string "%FT%T%z" date))
""))