summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-11-05 00:14:03 +0100
committerBastien Guerry <bzg@altern.org>2013-11-05 00:14:03 +0100
commit08d93aa2d5b51e0efd181149a9fe26de81fc3b42 (patch)
tree736effeeca02bc19cd1b6537ae699d726742efdc
parent1fad782491d5065a39695c6668072775138a6532 (diff)
downloadorg-mode-08d93aa2d5b51e0efd181149a9fe26de81fc3b42.tar.gz
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.
-rw-r--r--contrib/lisp/ox-rss.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/lisp/ox-rss.el b/contrib/lisp/ox-rss.el
index 9b8437f..2777e02 100644
--- a/contrib/lisp/ox-rss.el
+++ b/contrib/lisp/ox-rss.el
@@ -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))