aboutsummaryrefslogtreecommitdiff
path: root/modules/categories
diff options
context:
space:
mode:
Diffstat (limited to 'modules/categories')
-rwxr-xr-xmodules/categories/main.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/categories/main.sh b/modules/categories/main.sh
index 68d3c12..ebb9e9e 100755
--- a/modules/categories/main.sh
+++ b/modules/categories/main.sh
@@ -34,6 +34,7 @@ source $AK_LIBDIR/_ak_script
source $AK_LIBDIR/_ak_ipfs
source $AK_LIBDIR/_ak_gpg
source $AK_LIBDIR/_ak_zblock
+source $AK_LIBDIR/_ak_utils
if [ ! -d $AK_CATEGORIES ]; then
mkdir $AK_CATEGORIES
@@ -46,7 +47,7 @@ fi
_ak_modules_categories_create(){
TEMP="$(_ak_make_temp_directory)"
cd $TEMP
- export NEWS_FILE="$(date +%Y%m%d_%H%M%S)"
+ export NEWS_FILE="$(_ak_datetime_human)"
vi $NEWS_FILE
_ak_log_info "Renaming..."
TITLE="$(head -n 1 $NEWS_FILE)"