contrib/lisp/ox-rss.el: Enhance RFC822 formatting string

* contrib/lisp/ox-rss.el (org-rss-headline)
(org-rss-build-channel-info): Use %b instead of %h for RFC822
dates.

Thanks to Andrea Rossetti for reporting this.
This commit is contained in:
Bastien Guerry 2013-11-05 00:14:03 +01:00
parent 1fad782491
commit 08d93aa2d5
1 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ communication channel."
(pubdate
(let ((system-time-locale "C"))
(format-time-string
"%a, %d %h %Y %H:%M:%S %z"
"%a, %d %b %Y %H:%M:%S %z"
(org-time-string-to-time
(or (org-element-property :PUBDATE headline)
(error "Missing PUBDATE property"))))))
@ -308,7 +308,7 @@ as a communication channel."
(author (and (plist-get info :with-author)
(let ((auth (plist-get info :author)))
(and auth (org-export-data auth info)))))
(date (format-time-string "%a, %d %h %Y %H:%M:%S %z")) ;; RFC 882
(date (format-time-string "%a, %d %b %Y %H:%M:%S %z")) ;; RFC 882
(description (org-export-data (plist-get info :description) info))
(lang (plist-get info :language))
(keywords (plist-get info :keywords))