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,
|
||||
'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,
|
||||
|
||||
Reference in New Issue
Block a user