Browse Source

org-html.el: New option `org-export-html-date-format-string'.

* org-html.el (org-export-html-date-format-string): Make a
defcustom.

TINYCHANGE

Thanks to Sébastian Vauban for this patch.
Bastien Guerry 13 years ago
parent
commit
b05e7cdf3b
1 changed files with 6 additions and 3 deletions
  1. 6 3
      lisp/org-html.el

+ 6 - 3
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