Replies: 1 comment 1 reply
-
Hi, this time "agenda for today" means entries with time between now and the next 86400 seconds (24 hrs). You could define a new filter function like this: (defun new-agenda-filter-function ()
"Include entries with timestamps before the end of the day."
(let ((entry-timestamp (dashboard-agenda--entry-timestamp (point)))
(end-of-day (days-to-time (1+ (time-to-days (current-time))))))
(unless (and entry-timestamp ;; ensure entry has timestamp
(time-less-p (current-time) entry-timestamp) ;; don't show past entries
(time-less-p entry-timestamp end-of-day))
(point)))) Or similar to (setq dashboard-filter-agenda-entry 'new-agenda-filter-function) Hope it works, I'm not sure about the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I lower the agenda's span? I prefer a single-day view for my agendas, as I tend to set-up habits and daily tasks so a weekly view just ends up filled with repeated tasks. I already set
dashboard-week-agenda
tonil
, but today is 2024-11-26 and I'm seeing tasks for tomorrow, 2024-11-27.Beta Was this translation helpful? Give feedback.
All reactions