diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2022-05-22 06:52:10 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2022-05-22 06:52:10 +0300 |
commit | d8c9944518b79a51c6d136877d62bc211ae37a89 (patch) | |
tree | 7ce5c93a973c614e479035724f6601e4c0c87fd8 | |
parent | 7ffdfa21846e127c1702b3194eaf3b1e10688eeb (diff) | |
download | 01-NEWS-d8c9944518b79a51c6d136877d62bc211ae37a89.tar.gz 01-NEWS-d8c9944518b79a51c6d136877d62bc211ae37a89.tar.bz2 01-NEWS-d8c9944518b79a51c6d136877d62bc211ae37a89.zip |
Changed initial datetime stamp to UTC_UNIX format
-rwxr-xr-x | bin/add-new.sh | 2 |
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)" |