Better default format for HTML export time stamp.
This commit is contained in:
parent
63bf841e91
commit
b94b1def2c
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue