emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-export-html-date-format-string


From: Scott Randby
Subject: [O] org-export-html-date-format-string
Date: Tue, 21 May 2013 13:49:24 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]