about summary refs log tree commit diff
diff options
context:
space:
mode:
-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"