From d8c9944518b79a51c6d136877d62bc211ae37a89 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 22 May 2022 06:52:10 +0300 Subject: Changed initial datetime stamp to UTC_UNIX format --- bin/add-new.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/add-new.sh b/bin/add-new.sh index 55fb69f..3ba70e5 100755 --- a/bin/add-new.sh +++ b/bin/add-new.sh @@ -1,5 +1,5 @@ #!/bin/bash -export NEWS_FILE="$(date +%Y%m%d_%H%M%S)" +export NEWS_FILE="$(date -u +%s)" vi $NEWS_FILE echo "Renaming..." TITLE="$(head -n 1 $NEWS_FILE)" -- cgit v1.2.3