mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-26 10:40:19 -06:00
Fix issue which was showing incorrect datetime in Backup/Restore dialog. Fixes #1377
This commit is contained in:
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
Block a user