diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-06-05 20:26:53 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-06-05 20:26:53 +0700 |
commit | f7cbf6f797812bd65dbaf57cc3bed05504175416 (patch) | |
tree | c0334ddbf652c037702d3470433471e584259c16 | |
parent | 8cce6a2c29e76f95e114721f6584df4bcf953880 (diff) | |
download | blog-f7cbf6f797812bd65dbaf57cc3bed05504175416.tar.gz |
Change param to work on alpine
-rwxr-xr-x | new-post.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new-post.sh b/new-post.sh index 97870d8..3f8fed9 100755 --- a/new-post.sh +++ b/new-post.sh @@ -1,3 +1,3 @@ #!/bin/sh # Shell script to create a new post -hugo new "posts/$(date --iso-8601)-$1.md" +hugo new "posts/$(date -I)-$1.md" |