Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select items logged yesterday/in the last 7 days? #226

Open
hrehfeld opened this issue Jul 23, 2022 · 1 comment
Open

Select items logged yesterday/in the last 7 days? #226

hrehfeld opened this issue Jul 23, 2022 · 1 comment

Comments

@hrehfeld
Copy link

hrehfeld commented Jul 23, 2022

All the examples seem to have :log t and the doc doesn't mention anything about timespans other than today. Is this possible?

I'd expect something like:

:log (clock after ...)

(which currently doesn't seem to work), and then we'd probably need some date hack like this:

  (let* ((future-cutoff-date
          (format-time-string "%Y-%m-%d"
           ;; 7 days into the future
                              (time-add (current-time) (days-to-time 7))))
         (org-super-agenda-groups
          `(
            (:name "Urgent" :deadline (before ,future-cutoff-date))
@hrehfeld hrehfeld changed the title Show items logged yesterday/in the last 7 days? Select items logged yesterday/in the last 7 days? Jul 23, 2022
@alphapapa
Copy link
Owner

Please note the documentation of the :log selector: "Group Agenda Log Mode items." If you're not using the Agenda Log Mode, that's not the selector you're looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants