This commit is contained in:
juewuy
2026-01-18 20:44:29 +08:00
parent 01848bdeea
commit 8fe56b622e
3 changed files with 6 additions and 6 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
}