core: add task.getDelay() method

This commit is contained in:
undefined committed 2021-04-06 17:40:58 +08:00
1 parent 775605f812
commit 5bbce72a68
6 files changed
+17 -4

No files matched your search

@@ -93,6 +93,7 @@
</div>
<div class="section__body">
<dl class="large horizontal">
<dt>{{ _('Delay')}}</dt><dd>{{ formatSeconds(statistics.delay[0] / 1000) }}</dd>
<dt>{{ _('5 Min')}}</dt><dd>{{ statistics['d5min'] }}</dd>
<dt>{{ _('1 Hour')}}</dt><dd>{{ statistics['d1h'] }}</dd>
<dt>{{ _('Day') }}</dt><dd>{{ statistics['day'] }}</dd>