From 08d93aa2d5b51e0efd181149a9fe26de81fc3b42 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 5 Nov 2013 00:14:03 +0100 Subject: [PATCH] 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. --- contrib/lisp/ox-rss.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/ox-rss.el b/contrib/lisp/ox-rss.el index 9b8437fe3..2777e02a4 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)) -- 2.11.4.GIT