Skip to content

Commit 2b58b34

Browse files
committed
Show judging starting time in the interface
Align title formatting with the format used in the title of the submission time.
1 parent c0cce96 commit 2b58b34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webapp/templates/jury/submission.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@
399399
, on {{ judgehosts | printHosts }}
400400
{%- if selectedJudging.starttime -%}
401401
{%- if selectedJudging.endtime -%}
402-
, took <span title="started: {{ selectedJudging.starttime | printtime('H:i:s') }}, completed: {{ selectedJudging.endtime | printtime('H:i:s') }}">{{ selectedJudging.starttime | printHumanTimeDiff(selectedJudging.endtime) }}</span>
402+
, started at <span title="{{ selectedJudging.starttime | printtime('Y-m-d H:i:s (T)') }}">{{ selectedJudging.starttime | printtime('H:i') }}</span>
403+
, took <span title="completed: {{ selectedJudging.endtime | printtime('Y-m-d H:i:s (T)') }}">{{ selectedJudging.starttime | printHumanTimeDiff(selectedJudging.endtime) }}</span>
403404
{%- elseif selectedJudging.valid or selectedJudging.rejudging -%}
404405
&nbsp;[still judging - busy {{ selectedJudging.starttime | printtimediff }}]
405406
{%- else -%}

0 commit comments

Comments
 (0)