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 --- lib/_ak_network_yggdrasil | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/_ak_network_yggdrasil') diff --git a/lib/_ak_network_yggdrasil b/lib/_ak_network_yggdrasil index a551cd6..27fc0c8 100755 --- a/lib/_ak_network_yggdrasil +++ b/lib/_ak_network_yggdrasil @@ -18,6 +18,7 @@ ### along with this program. If not, see . ### source $AK_LIBDIR/_ak_log +source $AK_LIBDIR/_ak_utils function _ak_network_yggdrasil_scan_full(){ # This scan is using HIA resources to scan the whole cjdns network for peers @@ -65,7 +66,7 @@ function _ak_network_yggdrasil_scan_full(){ count="$(( $count + 1 ))" _ak_log_debug "Scanning [${count}/${max}] $ip..." node_fs_path="$AK_ZPEERSDIR/ygg/$(echo -n $ip| sed 's/://g')" - scan_ts="$(date -u +%s)" + scan_ts="$(_ak_datetime_unix)" if [ ! -d ${node_fs_path} ] then mkdir -p ${node_fs_path} -- cgit v1.2.3