fix date string
This commit is contained in:
parent
16105b8bc3
commit
4bd5ff3a0e
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Set variables
|
||||
today=$(date +%d-%m-%Y)
|
||||
today=$(date +%Y-%m-%d)
|
||||
daily_note_dir="$NOTES_DIR/daily_notes"
|
||||
today_file="${daily_note_dir}/${today}_daily.md"
|
||||
most_recent_file=$(ls -t ${daily_note_dir}/*_daily.md | head -n 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue