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-time-string "%a, %d %b %Y %H:%M:%S %Z"
(unless (null date)
(org-timestamp-to-time
(org-timestamp-from-string date)))
(date-to-time date))
t))
(defun tekuti-build-data-from-org ()