ui: fix date rendering in drive status

This commit is contained in:
Dietmar Maurer 2021-03-08 11:30:12 +01:00
parent d0a0bad9d6
commit b0156179b9
1 changed files with 1 additions and 1 deletions

View File

@ -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 "";
},