Replies: 1 comment
-
I have mixed feelings about this idea. On one hand, it seems like a nice way to provide compatibility and flexibility. OTOH I generally want to avoid adding support for options like this, because, as seen in org-agenda.el, they complicate the code--over time, severely. But, IIUC, this could already be done without any changes to (defun ts-end-of-today-extended ()
"Return timestamp at the end of today extended by `org-extend-today-until'."
(let ((start-of-tomorrow
(ts-apply :hour 0 :minute 0 :second 0
(ts-adjust 'day 1 (ts-now)))))
(ts-adjust 'second org-extend-today-until start-of-tomorrow))) Then you could use its value in a query expression, like:
What do you think? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Title. Org already respects this value holistically by using the function
org-today
to get today's date. From org.el:Beta Was this translation helpful? Give feedback.
All reactions