From: Scott Randby <srandby@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-export-html-date-format-string
Date: Tue, 21 May 2013 13:49:24 -0400 [thread overview]
Message-ID: <519BB3A4.2010100@gmail.com> (raw)
I'm having trouble customizing the variable
org-export-html-date-format-string. Before I tried to customize it, I
would get the date in the postamble when I exported to html:
<p class="date">Created: 2013-05-21 Tue 12:44</p>
The original string for the variable is: %Y-%m-%dT%R%z
I don't want this string, so I changed it to %F%T%Z which didn't give
any date when I exported. So I changed the string to %Y-%m-%d and still
had no date after export. Changing back to the default string doesn't
work either.
This seems like a bug. Here is what is in my init.el after customization:
'(org-export-html-date-format-string "%Y-%m-%dT%R%z")
'(org-html-postamble t)
'(org-html-postamble-format (quote (("en" "<p class=\"author\">Author:
%a </p> <p class=\"date\">Date: %d</p> <p class=\"creator\">%c</p>"))))
Here is the html of the postamble after export:
<div id="postamble" class="status">
<p class="author">Author: Scott P. Randby </p>
<p class="date">Date: </p>
<p class="creator"><a
href="http://www.gnu.org/software/emacs/">Emacs</a> 24.2.1 (<a
href="http://orgmode.org">Org</a> mode 8.0.3)</p>
</div>
How do I get the date variable to work?
Scott Randby
next reply other threads:[~2013-05-21 17:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 17:49 Scott Randby [this message]
2013-05-21 18:51 ` org-export-html-date-format-string Scott Randby
2013-05-21 18:55 ` org-export-html-date-format-string Nicolas Goaziou
2013-05-21 19:36 ` org-export-html-date-format-string Scott Randby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=519BB3A4.2010100@gmail.com \
--to=srandby@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).