show human readable time on exam overview page
This commit is contained in:
+1
-1
@@ -903,7 +903,7 @@ class ExamBase(ExamOrCollectionGenericBase):
|
||||
h, m, s = str(datetime.timedelta(seconds=self.time_limit)).split(":")
|
||||
|
||||
time_limit = ""
|
||||
if s != "0":
|
||||
if s != "0" and s != "00":
|
||||
time_limit = f" {s} second(s)"
|
||||
if m != "0":
|
||||
time_limit = f"{m} minute(s) {time_limit}"
|
||||
|
||||
Reference in New Issue
Block a user