expect, that hub is returning GM time
Fixes: https://pagure.io/koji/issue/1915
This commit is contained in:
parent
d696c7cd3e
commit
79d96c707d
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
#from kojiweb import util
|
#from kojiweb import util
|
||||||
#from six.moves.urllib.parse import quote
|
#from six.moves.urllib.parse import quote
|
||||||
#import cgi
|
#import cgi
|
||||||
#import time
|
#import datetime
|
||||||
|
|
||||||
#def printValue($key, $value, $sep=', ')
|
#def printValue($key, $value, $sep=', ')
|
||||||
#if $key in ('brootid', 'buildroot_id')
|
#if $key in ('brootid', 'buildroot_id')
|
||||||
|
|
@ -343,7 +343,7 @@ $value
|
||||||
#set $end_ts = $task.completion_ts
|
#set $end_ts = $task.completion_ts
|
||||||
#end if
|
#end if
|
||||||
#if not $end_ts
|
#if not $end_ts
|
||||||
#set $end_ts = time.time()
|
#set $end_ts = datetime.datetime.utcnow().timestamp()
|
||||||
#end if
|
#end if
|
||||||
<tr>
|
<tr>
|
||||||
<th title="From task's creation">Total time</th>
|
<th title="From task's creation">Total time</th>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue