forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
ed8cd9cf21
|
@ -245,7 +245,7 @@ communication channel."
|
||||||
(or (org-element-property :CATEGORY headline) "") info))
|
(or (org-element-property :CATEGORY headline) "") info))
|
||||||
(pubdate0 (org-element-property :PUBDATE headline))
|
(pubdate0 (org-element-property :PUBDATE headline))
|
||||||
(pubdate (let ((system-time-locale "C"))
|
(pubdate (let ((system-time-locale "C"))
|
||||||
(if pubdate0
|
(if (and pubdate0 (not (string-empty-p pubdate0)))
|
||||||
(format-time-string
|
(format-time-string
|
||||||
"%a, %d %b %Y %H:%M:%S %z"
|
"%a, %d %b %Y %H:%M:%S %z"
|
||||||
(org-time-string-to-time pubdate0)))))
|
(org-time-string-to-time pubdate0)))))
|
||||||
|
@ -270,7 +270,7 @@ communication channel."
|
||||||
(org-element-property :CUSTOM_ID headline)
|
(org-element-property :CUSTOM_ID headline)
|
||||||
publink)
|
publink)
|
||||||
info))))
|
info))))
|
||||||
(if (not pubdate0) "" ;; Skip entries with no PUBDATE prop
|
(if (not pubdate) "" ;; Skip entries with no PUBDATE prop
|
||||||
(format
|
(format
|
||||||
(concat
|
(concat
|
||||||
"<item>\n"
|
"<item>\n"
|
||||||
|
|
Loading…
Reference in a new issue