jquery bootgrid - fix epoch support as number, imports 292cfdf749

This commit is contained in:
Ad Schellevis 2024-02-26 20:42:44 +01:00
parent c868e0adc6
commit 53733031d3

View File

@ -1239,6 +1239,9 @@ Grid.defaults = {
return value ? moment(parseInt(value)*1000) : "";
},
to: function (value) {
if (!Object.is(value)) {
value = moment(parseInt(value)*1000);
}
return value ? value.format("lll") : "";
}
},