I have a capture template set up to file journal entries in an org file.
(setq org-capture-templates
'(("j" "Journal" entry (file+datetree "/home/emil/org/journal_.org")
(file "/home/emil/org/journal-template.org") :prepend :clock-in))
I want to clock out and output the time elapsed on the clock started with :clock-in when the capture is filed, but I don't know how to do this. Can anyone give me some ideas?