This commit is contained in:
juewuy
2026-01-18 20:52:02 +08:00
parent 599dcdb15b
commit 966b59692e
7 changed files with 87 additions and 113 deletions

View File

@@ -7,7 +7,7 @@ running_status(){
if [ -n "$start_time" ]; then
time=$(($(date +%s) - start_time))
day=$((time / 86400))
[ "$day" = "0" ] && day='' || day="$day"
time=$(date -u -d @${time} +%H小时%M%S)
[ "$day" = "0" ] && day='' || day="$dayD"
time=$(date -u -d @${time} +%H:%M:%S)
fi
}