From 89f7c2210d5dba43c8c3eae2066a8988650134b0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 16 Dec 2016 13:12:18 +1100 Subject: [PATCH] Uptime: Revert date removal --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))" ;;