From b0156179b93c31e9b6c313225a6a6f4502e54d14 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 8 Mar 2021 11:30:12 +0100 Subject: [PATCH] ui: fix date rendering in drive status --- www/tape/DriveStatus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/tape/DriveStatus.js b/www/tape/DriveStatus.js index 284eb975..0aec5031 100644 --- a/www/tape/DriveStatus.js +++ b/www/tape/DriveStatus.js @@ -291,7 +291,7 @@ Ext.define('PBS.TapeManagement.DriveStatusGrid', { header: gettext('Tape Manufacture Date'), renderer: function(value) { if (value) { - return new Date(value*1000); + return Ext.Date.format(new Date(value*1000), "Y-m-d"); } return ""; },