Fix issue which was showing incorrect datetime in Backup/Restore dialog. Fixes #1377

This commit is contained in:
Murtuza Zabuawala 2016-06-17 13:54:31 +01:00 committed by Dave Page
parent 014eb2a5c2
commit b94b47f021

View File

@ -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,