aboutsummaryrefslogtreecommitdiffstats
path: root/tekuti.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-04-12 00:41:02 -0700
committerGravatar Tom Willemse2023-04-12 00:41:02 -0700
commitb2fc64d2b04ea1e2507a8f14bd10fcd1bd7078ec (patch)
tree685752788273db71d42f42438f9eee4aaeffec07 /tekuti.el
parent0d935dc649b8b09f72afac205c22f4a1f7973fe3 (diff)
downloadtekuti-el-b2fc64d2b04ea1e2507a8f14bd10fcd1bd7078ec.tar.gz
tekuti-el-b2fc64d2b04ea1e2507a8f14bd10fcd1bd7078ec.zip
Fix reading the date and time published
‘org-timestamp-from-string’ doesn't read dates like “Wed, 12 Apr 2023 07:02:45 GMT”
Diffstat (limited to 'tekuti.el')
-rw-r--r--tekuti.el3
1 files changed, 1 insertions, 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 ()