From 586639907bbcf568089c04aced6669116888cdbf Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 16 Mar 2025 01:29:32 +0200 Subject: All date functions accumulated in _ak_utils --- modules/categories/main.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/categories/main.sh') 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)" -- cgit v1.2.3