更新
This commit is contained in:
parent
00e5e4ceb7
commit
b4fa584367
@ -136,7 +136,8 @@ class TaskStages extends CommonModel
|
||||
$timeDifference = abs(time() - $endTime);
|
||||
// 计算天数
|
||||
$days = bcdiv($timeDifference,86400,2);
|
||||
$task['timeout']=$days.'天';
|
||||
$times= explode('.',$days);
|
||||
$task['timeout']=$times[0].'天'.$times[1]??$times[1].'小时';
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user