diff --git a/neofetch b/neofetch index 4df60ccf..b1b4998a 100755 --- a/neofetch +++ b/neofetch @@ -317,7 +317,7 @@ get_uptime() { boot="${boot/,*}" # Get current date in seconds - now="$(printf "%(%s)T")" + now="$(date +%s)" seconds="$((now - boot))" ;;