diff --git a/www/Utils.js b/www/Utils.js index 1960abb3..9dcde694 100644 --- a/www/Utils.js +++ b/www/Utils.js @@ -855,8 +855,8 @@ Ext.define('PBS.Utils', { let gc_atime_cutoff = tuning['gc-atime-cutoff']; delete tuning['gc-atime-cutoff']; - gc_atime_cutoff = gc_atime_cutoff ?? '1445'; - options.push(`${gettext('GC Access-Time Cutoff')}: ${gc_atime_cutoff}m`); + let gc_atime_cutoff_rendered = Proxmox.Utils.format_duration_human((gc_atime_cutoff ?? 1445) * 60); + options.push(`${gettext('GC Access-Time Cutoff')}: ${gc_atime_cutoff_rendered}`); let gc_cache_capacity = tuning['gc-cache-capacity']; delete tuning['gc-cache-capacity'];