This commit is contained in:
deathbybandaid 2023-04-05 10:39:21 -04:00
parent 37b3fe3cb4
commit 98a0f47bb0

View File

@ -16,7 +16,6 @@ get_tz() {
current_timezone=$(timedatectl | grep "zone" | sed -e 's/^[ ]*Time zone: \(.*\) (.*)$/\1/g')
fi
printf "$COL_LIGHT_BLUE" "* Timezone in $tz_type is set to $current_timezone"
return $current_timezone
}
@ -25,6 +24,7 @@ declare -a TIMEPLACES=("/etc/timezone" "timedatectl")
for timeitem in "${TIMEPLACES[@]}"
do
get_tz $timeitem
echo $current_timezone
done
exit