Function: org-html-clock
org-html-clock is a byte-compiled function defined in ox-html.el.gz.
Signature
(org-html-clock CLOCK CONTENTS INFO)
Documentation
Transcode a CLOCK element from Org to HTML.
CONTENTS is nil. INFO is a plist used as a communication channel.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; Clock
(defun org-html-clock (clock _contents _info)
"Transcode a CLOCK element from Org to HTML.
CONTENTS is nil. INFO is a plist used as a communication
channel."
(format "<p>
<span class=\"timestamp-wrapper\">
<span class=\"timestamp-kwd\">%s</span> <span class=\"timestamp\">%s</span>%s
</span>
</p>"
org-clock-string
(org-timestamp-translate (org-element-property :value clock))
(let ((time (org-element-property :duration clock)))
(and time (format " <span class=\"timestamp\">(%s)</span>" time)))))