src/bin/proxmox-backup-client.rs: add human readable date to prune list

This commit is contained in:
Dietmar Maurer 2020-05-05 07:33:58 +02:00
parent a66d5898a1
commit 74f7240b8d

View File

@ -1439,6 +1439,7 @@ async fn prune_async(mut param: Value) -> Result<Value, Error> {
.sortby("backup-id", false) .sortby("backup-id", false)
.sortby("backup-time", false) .sortby("backup-time", false)
.column(ColumnConfig::new("backup-id").renderer(render_snapshot_path).header("snapshot")) .column(ColumnConfig::new("backup-id").renderer(render_snapshot_path).header("snapshot"))
.column(ColumnConfig::new("backup-time").renderer(tools::format::render_epoch).header("date"))
.column(ColumnConfig::new("keep")) .column(ColumnConfig::new("keep"))
; ;