mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-21 06:55:35 +00:00
org-agenda-get-scheduled: Fix call to `org-time-string-to-time'
* lisp/org-agenda.el (org-agenda-get-scheduled): Do not pass timestamp object to `org-time-string-to-time'. Convert it to string first. Reported-by: Carlo Tambuatco <oraclmaster@gmail.com> Link: https://orgmode.org/list/CAJb92EzRWO6v3MRVbU0XwQomx-A1eYvFaOaBsJemB85Y4nJ1eg@mail.gmail.com
This commit is contained in:
parent
806abc5a2b
commit
c61ec6255d
@ -6784,7 +6784,8 @@ scheduled items with an hour specification like [h]h:mm."
|
||||
(let ((deadline (time-to-days
|
||||
(when (org-element-property :deadline el)
|
||||
(org-time-string-to-time
|
||||
(org-element-property :deadline el))))))
|
||||
(org-element-interpret-data
|
||||
(org-element-property :deadline el)))))))
|
||||
(and (<= schedule deadline) (> current deadline))))
|
||||
(`not-today pastschedp)
|
||||
(`t t)
|
||||
|
Loading…
Reference in New Issue
Block a user