From 7e0efe0de8118b785294995950f6e2c69f3b2da3 Mon Sep 17 00:00:00 2001 From: okunze Date: Fri, 8 Mar 2024 21:05:30 +0000 Subject: [PATCH] Automated Change by GitHub Action --- source/argon1.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/argon1.sh b/source/argon1.sh index 435642e..7caf23b 100644 --- a/source/argon1.sh +++ b/source/argon1.sh @@ -8,9 +8,8 @@ echo "*************" # Check time if need to 'fix' NEEDSTIMESYNC=0 LOCALTIME=$(date -u +%s%N | cut -b1-10) -GLOBALTIME=$(curl -s 'https://worldtimeapi.org/api/ip.txt' | grep unixtime | cut -b11-20) +GLOBALTIME=$(curl -s 'http://worldtimeapi.org/api/ip.txt' | grep unixtime | cut -b11-20) TIMEDIFF=$((GLOBALTIME-LOCALTIME)) -echo "Local $LOCALTIME vs Global $GLOBALTIME $TIMEDIFF" # about 26hrs, max timezone difference if [ $TIMEDIFF -gt 100000 ]