Better default format for HTML export time stamp.

This commit is contained in:
Carsten Dominik 2008-07-14 12:14:23 -07:00
parent 63bf841e91
commit b94b1def2c
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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)