From b2fc64d2b04ea1e2507a8f14bd10fcd1bd7078ec Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 12 Apr 2023 00:41:02 -0700 Subject: [PATCH] Fix reading the date and time published MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘org-timestamp-from-string’ doesn't read dates like “Wed, 12 Apr 2023 07:02:45 GMT” --- tekuti.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tekuti.el b/tekuti.el index 6597916..72f8c32 100644 --- a/tekuti.el +++ b/tekuti.el @@ -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 ()