aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"