mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
[exam] add progress
This commit is contained in:
@@ -2012,7 +2012,7 @@ function mkprettytime($s) {
|
||||
}
|
||||
|
||||
if ($t["day"])
|
||||
return $t["day"] . ($lang_functions['text_day'] ?? 'days') . sprintf("%02d:%02d:%02d", $t["hour"], $t["min"], $t["sec"]);
|
||||
return $t["day"] . ($lang_functions['text_day'] ?? 'day(s)') . sprintf("%02d:%02d:%02d", $t["hour"], $t["min"], $t["sec"]);
|
||||
if ($t["hour"])
|
||||
return sprintf("%d:%02d:%02d", $t["hour"], $t["min"], $t["sec"]);
|
||||
// if ($t["min"])
|
||||
|
||||
Reference in New Issue
Block a user