summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-conf.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/org-conf.el b/org-conf.el
index 142f8ac..9e31b92 100644
--- a/org-conf.el
+++ b/org-conf.el
@@ -585,7 +585,7 @@ href='https://jsdurand.xyz/favicon.ico'/>")
;;;; Custom postamble
-(defun durand-org-postamble (_plist)
+(defun durand-org-postamble (plist)
"Return the postamble string.
PLIST specifies the settings of the project.
@@ -594,7 +594,9 @@ that argument."
(let ((author "JSDurand")
(email "<a href=\"mailto:durand@jsdurand.xyz\">
durand@jsdurand.xyz</a>")
- (created (format-time-string "%F %a %T %Z"))
+ (created (org-export-data
+ (org-export-get-date plist "%F %a %T %Z")
+ plist))
(creator
(format
"%s (<a href=\"https://orgmode.org\">Org</a> mode %s)"