I am exporting org files to html. I am using Org-mode 7.9.3f with Emacs 24.
How can I get a custom time format in the postamble?
I tried setting the variable org-export-html-postamble-format to
(setq org-export-html-postamble-format
'(("en" "<p class=\"date\">Date: %d</p>")))
Then the time format looks like this: 2013-07-16T21:20+0200
I would like to have only the date: 2013-07-16, i.e %y-%m-%d.
You should try:
(setq org-export-html-date-format-string "%Y-%m-%d")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With