Added support for custom date formats

This commit is contained in:
Jon-William Lewis
2016-02-15 16:30:49 -06:00
parent 051546691f
commit 69bbd06948
3 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
function p_header(){
printf "# %s\n## Date: %s\n" "$(basename ${NOTE%.*})" "$(date)"
printf "# %s\n## Date: %s\n" "$(basename ${NOTE%.*})" "$(date "$DATE_FMT")"
}