Fix issue which was showing incorrect datetime in Backup/Restore dialog. Fixes #1377
parent
014eb2a5c2
commit
b94b47f021
|
|
@ -334,11 +334,7 @@ class BatchProcess(object):
|
|||
'id': p.pid,
|
||||
'desc': desc,
|
||||
'details': details,
|
||||
'stime': (
|
||||
stime - datetime(
|
||||
1970, 1, 1, tzinfo=pytz.utc
|
||||
)
|
||||
).total_seconds(),
|
||||
'stime': stime,
|
||||
'etime': p.end_time,
|
||||
'exit_code': p.exit_code,
|
||||
'acknowledge': p.acknowledge,
|
||||
|
|
|
|||
Loading…
Reference in New Issue