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:
parent
0d935dc649
commit
b2fc64d2b0
1 changed files with 1 additions and 2 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Reference in a new issue