aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2022-05-22 06:52:10 +0300
committerkaotisk <kaotisk@arching-kaos.org>2022-05-22 06:52:10 +0300
commitd8c9944518b79a51c6d136877d62bc211ae37a89 (patch)
tree7ce5c93a973c614e479035724f6601e4c0c87fd8 /bin
parent7ffdfa21846e127c1702b3194eaf3b1e10688eeb (diff)
download01-NEWS-d8c9944518b79a51c6d136877d62bc211ae37a89.tar.gz
01-NEWS-d8c9944518b79a51c6d136877d62bc211ae37a89.tar.bz2
01-NEWS-d8c9944518b79a51c6d136877d62bc211ae37a89.zip
Changed initial datetime stamp to UTC_UNIX format
Diffstat (limited to 'bin')
-rwxr-xr-xbin/add-new.sh2
1 files changed, 1 insertions, 1 deletions
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)"