Fix reading the date and time published

‘org-timestamp-from-string’ doesn't read dates like “Wed, 12 Apr 2023 07:02:45
GMT”
This commit is contained in:
Tom Willemse 2023-04-12 00:41:02 -07:00
parent 0d935dc649
commit b2fc64d2b0

View file

@ -49,8 +49,7 @@
"Format DATE into a date that tekuti understands." "Format DATE into a date that tekuti understands."
(format-time-string "%a, %d %b %Y %H:%M:%S %Z" (format-time-string "%a, %d %b %Y %H:%M:%S %Z"
(unless (null date) (unless (null date)
(org-timestamp-to-time (date-to-time date))
(org-timestamp-from-string date)))
t)) t))
(defun tekuti-build-data-from-org () (defun tekuti-build-data-from-org ()