mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
[exam] add progress do update the same time
This commit is contained in:
@@ -533,3 +533,10 @@ function formatDatetime($datetime, $format = 'Y-m-d H:i:s')
|
||||
}
|
||||
return $datetime;
|
||||
}
|
||||
|
||||
function formatTtl($seconds)
|
||||
{
|
||||
if ($seconds < 60) {
|
||||
return $seconds . "seconds";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user