about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-06-05 20:26:53 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-06-05 20:26:53 +0700
commitf7cbf6f797812bd65dbaf57cc3bed05504175416 (patch)
treec0334ddbf652c037702d3470433471e584259c16
parent8cce6a2c29e76f95e114721f6584df4bcf953880 (diff)
downloadblog-f7cbf6f797812bd65dbaf57cc3bed05504175416.tar.gz
Change param to work on alpine
-rwxr-xr-xnew-post.sh2
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"