1 line
1.6 KiB
Plaintext
1 line
1.6 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I still fumble for the right way to use a timestamp.</p> <p>Right now, I want to automatically add a timestamp (time of capture) to an entry when I use <code>org-capture</code>. What's the right way to do this? </p> <p>Should I add an inactive timestamp right down below the heading? I was thinking of doing something like <code>CAPTURED ON: [2021-10-02]</code>. This is easy to do inside <code>org-capture-templates</code>. But then the first words can have special meanings (as in <code>DEADLINE:</code> ) which makes it look awkward.</p> <p>Or should I just add it as a custom property? If so, are timestamps completely legal inside the <code>PROPERTIES</code> drawer (and will they always be?). I've seen other people add a simple date without the brackets, but this won't cut it for me cause I want to use the timestamp with <code>org-sparse-tree</code>.</p> <p>Or should I add it as a list entry to the <code>LOGBOOK</code> drawer? Accomplishing this with <code>org-capture</code> needs some extra hacking, but this seems like the most semantically correct option.</p> <hr/> <p>Is it just me, or is org-mode syntax quirky? I'm confused about something that seems like a very common use-case?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/ProfessorMu"> /u/ProfessorMu </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/q6myiz/are_timestamps_allowed_inside_the_properties/">[link]</a></span>   <span><a href="https://www.reddit.com/r/orgmode/comments/q6myiz/are_timestamps_allowed_inside_the_properties/">[comments]</a></span> |