[exam] add progress do update the same time

This commit is contained in:
xiaomlove
2021-04-27 02:44:44 +08:00
parent 465fd2bca8
commit d1b7561aae
17 changed files with 97 additions and 81 deletions

View File

@@ -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";
}
}