Explorar el Código

Better default format for HTML export time stamp.

Carsten Dominik hace 17 años
padre
commit
b94b1def2c
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 2 0
      lisp/ChangeLog
  2. 2 2
      lisp/org-exp.el

+ 2 - 0
lisp/ChangeLog

@@ -2,6 +2,8 @@
 
 	* org-exp.el (org-export-html-style-default): Automatic overflow
 	handling for pre fields.
+	(org-export-as-ascii, org-export-as-html): Change default format
+	for time stamp.
 
 	* org-table.el (org-table-export): Offer completion for translator
 	functions, and do not require a heading above the table.

+ 2 - 2
lisp/org-exp.el

@@ -2146,7 +2146,7 @@ underlined headlines.  The default is 3."
      ((and date (string-match "%" date))
       (setq date (format-time-string date)))
      (date)
-     (t (setq date (format-time-string "%Y/%m/%d %X"))))
+     (t (setq date (format-time-string "%Y-%m-%d %T %Z"))))
 
     (if (and date org-export-time-stamp-file)
 	(insert (concat (nth 2 lang-words) ": " date"\n")))
@@ -2786,7 +2786,7 @@ PUB-DIR is set, use this as the publishing directory."
      ((and date (string-match "%" date))
       (setq date (format-time-string date)))
      (date)
-     (t (setq date (format-time-string "%Y/%m/%d %X"))))
+     (t (setq date (format-time-string "%Y-%m-%d %T %Z"))))
 
     ;; Get the language-dependent settings
     (setq lang-words (or (assoc language org-export-language-setup)