From e2e7806f357b37c14c655a994d1f743aa967e076 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 21 Jun 2025 18:39:18 +0200 Subject: [PATCH] feat(journal): update heading --- journal.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/journal.sh b/journal.sh index 0c3258a..84e2fc4 100755 --- a/journal.sh +++ b/journal.sh @@ -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