I’m using org-roam’s dailies feature to keep track of the time I’ve logged each day. It looks like this:
(setq org-roam-dailies-capture-templates '(("d" "default" entry "* %?" :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d> #+BEGIN: clocktable :scope agenda :maxlevel 2 :step day :fileskip0 true :tstart \"%<%Y-%m-%d>\" :tend \"%<%Y-%m-%d>\" #+END: "))))
That works, but only if I manually set the
:tend timestamp to tomorrow, by incrementing the day.
What I’d like to do is instead have some magic function
%(some-elisp-function-here-for-date "+1") where
+1 refers to tomorrow’s date in the form
<Y-m-d>, i.e., such that it’s readable by the org clocktable. Is there a way to do that?