forked from mirrors/org-mode
ox-org: Obey to `org-display-custom-times'
* lisp/ox-org.el (org-org-timestamp): New function. (org): Use new function.
This commit is contained in:
parent
c0a1fb4138
commit
857425e184
|
@ -96,7 +96,7 @@ setting of `org-html-htmlize-output-type' is `css'."
|
||||||
(table-cell . org-org-identity)
|
(table-cell . org-org-identity)
|
||||||
(table-row . org-org-identity)
|
(table-row . org-org-identity)
|
||||||
(target . org-org-identity)
|
(target . org-org-identity)
|
||||||
(timestamp . org-org-identity)
|
(timestamp . org-org-timestamp)
|
||||||
(underline . org-org-identity)
|
(underline . org-org-identity)
|
||||||
(verbatim . org-org-identity)
|
(verbatim . org-org-identity)
|
||||||
(verse-block . org-org-identity))
|
(verse-block . org-org-identity))
|
||||||
|
@ -206,6 +206,10 @@ as a communication channel."
|
||||||
(format "#+CREATOR: %s\n" (plist-get info :creator)))
|
(format "#+CREATOR: %s\n" (plist-get info :creator)))
|
||||||
contents))
|
contents))
|
||||||
|
|
||||||
|
(defun org-org-timestamp (timestamp _contents _info)
|
||||||
|
"Transcode a TIMESTAMP object to custom format or back into Org syntax."
|
||||||
|
(org-timestamp-translate timestamp))
|
||||||
|
|
||||||
(defun org-org-section (section contents info)
|
(defun org-org-section (section contents info)
|
||||||
"Transcode SECTION element back into Org syntax.
|
"Transcode SECTION element back into Org syntax.
|
||||||
CONTENTS is the contents of the section. INFO is a plist used as
|
CONTENTS is the contents of the section. INFO is a plist used as
|
||||||
|
|
Loading…
Reference in a new issue