From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: org-export-html-date-format-string Date: Tue, 21 May 2013 13:49:24 -0400 Message-ID: <519BB3A4.2010100@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueqgj-0008PB-S0 for emacs-orgmode@gnu.org; Tue, 21 May 2013 13:49:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ueqgi-0003C7-43 for emacs-orgmode@gnu.org; Tue, 21 May 2013 13:49:29 -0400 Received: from mail-ie0-x232.google.com ([2607:f8b0:4001:c03::232]:39545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueqgh-0003Bs-VG for emacs-orgmode@gnu.org; Tue, 21 May 2013 13:49:28 -0400 Received: by mail-ie0-f178.google.com with SMTP id b11so2493445iee.37 for ; Tue, 21 May 2013 10:49:27 -0700 (PDT) Received: from [192.168.1.111] (cpe-24-165-203-246.neo.res.rr.com. [24.165.203.246]) by mx.google.com with ESMTPSA id l14sm3303023igf.9.2013.05.21.10.49.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 May 2013 10:49:26 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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:

Created: 2013-05-21 Tue 12:44

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" "

Author: %a

Date: %d

%c

")))) Here is the html of the postamble after export:

Author: Scott P. Randby

Date:

Emacs 24.2.1 (Org mode 8.0.3)

How do I get the date variable to work? Scott Randby