Monday, January 1, 2024

Yesterday I was convinced that I should keep tasks out of Org-mode and use OmniFocus instead. I need my todos on mobile right? Now I'm not sure. I need reminders on mobile, but not my giant todo list. I'll need to figure this out, today.
On the Journal page, I'm now showing a list of the notes created on that day in addition to any post text. Hoping this helps keep stuff from getting buried.
-
Formatting dates in org-capture templates
I track my weight in an Org-mode table. New entries are added using an Org-mode capture template. It was bugging me that the date format was a full-on Org-mode inactive timestamp like
[2024-01-01 Mon]
. I just wanted theYYYY-MM-DD
portion, but Org's expansion templates don't have an option for that.I learned today that I can use any Emacs date format string in the capture template. I'm using
%<%F>
which displays the ISO 8601 date, just like I want.("W" "Weight" table-line (file+olp "~/org/daybook.org" "Weight Tracking" "Data") "| %<%F> | %? | | |" :unnarrowed t)
I learn something every day.