feat(journal): update heading

This commit is contained in:
Ayo Ayco 2025-06-21 18:39:18 +02:00
parent 062832f669
commit e2e7806f35

View file

@ -12,7 +12,8 @@ full_path="${journal_dir}/${month_dir}/${file_name}"
if ! test -f "$full_path"; then
install -Dv /dev/null $full_path
# TODO: update to correct heading from old entries
heading=$(date +'%m-%d-%Y')
# Jun 17, 2025, Tue 10:24 PM
heading=$(date +'%b %d, %Y, %a %r')
echo $heading > "$full_path"
fi