Uptime: Revert date removal
This commit is contained in:
parent
27e634fc0c
commit
89f7c2210d
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -317,7 +317,7 @@ get_uptime() {
|
|||
boot="${boot/,*}"
|
||||
|
||||
# Get current date in seconds
|
||||
now="$(printf "%(%s)T")"
|
||||
now="$(date +%s)"
|
||||
seconds="$((now - boot))"
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue