jquery-bootgrid - sync with https://github.com/opnsense/jquery-bootgrid/pull/7
This commit is contained in:
parent
353c89f5c0
commit
08ee9c0175
|
@ -1239,7 +1239,7 @@ Grid.defaults = {
|
|||
return value ? moment(parseInt(value)*1000) : "";
|
||||
},
|
||||
to: function (value) {
|
||||
if (!Object.is(value)) {
|
||||
if (!moment.isMoment(value)) {
|
||||
value = moment(parseInt(value)*1000);
|
||||
}
|
||||
return value ? value.format("lll") : "";
|
||||
|
|
Loading…
Reference in New Issue