Function: org-html-timestamp
org-html-timestamp is a byte-compiled function defined in
ox-html.el.gz.
Signature
(org-html-timestamp TIMESTAMP CONTENTS INFO)
Documentation
Transcode a TIMESTAMP object from Org to HTML.
CONTENTS is nil. INFO is a plist holding contextual information.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; Timestamp
(defun org-html-timestamp (timestamp _contents info)
"Transcode a TIMESTAMP object from Org to HTML.
CONTENTS is nil. INFO is a plist holding contextual
information."
(let (
;; Strip :post-blank
;; It will be handled as a part of generic transcoder code
;; so we should avoid double-counting post-blank.
(timestamp-no-blank
(org-element-put-property
(org-element-copy timestamp t)
:post-blank 0)))
(format "<span class=\"timestamp-wrapper\">%s</span>"
(org-html--format-timestamp timestamp-no-blank info))))