all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-backup] ui: sync/verify view: show correct duration in task log window
@ 2026-04-27 12:04 Dominik Csapak
  0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2026-04-27 12:04 UTC (permalink / raw)
  To: pbs-devel

By passing the endtime from the grid to the task log window.

If that's not done, the task log window uses the current time to
calculate the duration, which is always wrong for already finished
tasks.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---

In addition, we could start returning the endtime in the task status api
too, but that also requires a change to the task log window itself since
it does not handle the endtime coming from the api currently.

This can be done independently though.

 www/config/SyncView.js   | 3 +++
 www/config/VerifyView.js | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/www/config/SyncView.js b/www/config/SyncView.js
index fe6c7c83b..386489120 100644
--- a/www/config/SyncView.js
+++ b/www/config/SyncView.js
@@ -135,8 +135,11 @@ Ext.define('PBS.config.SyncJobView', {
                 return;
             }
 
+            let endtime = selection[0].data['last-run-endtime'];
+
             Ext.create('Proxmox.window.TaskViewer', {
                 upid,
+                endtime,
             }).show();
         },
 
diff --git a/www/config/VerifyView.js b/www/config/VerifyView.js
index bbcf3da8d..2c63f0d79 100644
--- a/www/config/VerifyView.js
+++ b/www/config/VerifyView.js
@@ -89,8 +89,11 @@ Ext.define('PBS.config.VerifyJobView', {
                 return;
             }
 
+            let endtime = selection[0].data['last-run-endtime'];
+
             Ext.create('Proxmox.window.TaskViewer', {
                 upid,
+                endtime,
             }).show();
         },
 
-- 
2.47.3





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-27 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 12:04 [PATCH proxmox-backup] ui: sync/verify view: show correct duration in task log window Dominik Csapak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal