mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix issue which was showing incorrect datetime in Backup/Restore dialog. Fixes #1377
This commit is contained in:
committed by
Dave Page
parent
014eb2a5c2
commit
b94b47f021
@@ -334,11 +334,7 @@ class BatchProcess(object):
|
|||||||
'id': p.pid,
|
'id': p.pid,
|
||||||
'desc': desc,
|
'desc': desc,
|
||||||
'details': details,
|
'details': details,
|
||||||
'stime': (
|
'stime': stime,
|
||||||
stime - datetime(
|
|
||||||
1970, 1, 1, tzinfo=pytz.utc
|
|
||||||
)
|
|
||||||
).total_seconds(),
|
|
||||||
'etime': p.end_time,
|
'etime': p.end_time,
|
||||||
'exit_code': p.exit_code,
|
'exit_code': p.exit_code,
|
||||||
'acknowledge': p.acknowledge,
|
'acknowledge': p.acknowledge,
|
||||||
|
|||||||
Reference in New Issue
Block a user