From b05e7cdf3b08539663cd0ca4d898277ef4bdf549 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 20 Mar 2012 12:10:58 +0100 Subject: [PATCH] org-html.el: New option `org-export-html-date-format-string'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * org-html.el (org-export-html-date-format-string): Make a defcustom. TINYCHANGE Thanks to Sébastian Vauban for this patch. --- lisp/org-html.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 1ec0045a0..2de2ea9df 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -653,10 +653,13 @@ postamble DIV." (string :tag " Div for the content:") (string :tag "Div for the postamble:"))) -(defvar org-export-html-date-format-string "%Y-%m-%dT%R%z" - "The string used to format date and time. +(defcustom org-export-html-date-format-string "%Y-%m-%dT%R%z" + "Format string to format the date and time. -Default is an extended format of the ISO 8601 specification.") +The default is an extended format of the ISO 8601 specification." + :group 'org-export-html + :version "24.1" + :type 'string) ;;; Hooks