make automatic filesnames not use : for better windows support ig
All checks were successful
Lint / shellcheck (push) Successful in 20s
All checks were successful
Lint / shellcheck (push) Successful in 20s
This commit is contained in:
2
kewt.sh
2
kewt.sh
@@ -121,7 +121,7 @@ create_new_post() {
|
|||||||
|
|
||||||
mkdir -p "$target_dir"
|
mkdir -p "$target_dir"
|
||||||
|
|
||||||
base_filename="$(date +%Y-%m-%d-%H:%M)"
|
base_filename="$(date +%Y-%m-%d-%H-%M)"
|
||||||
filename="${base_filename}.md"
|
filename="${base_filename}.md"
|
||||||
file_path="$target_dir/$filename"
|
file_path="$target_dir/$filename"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user