internet explorer - IE displaying timespan in jquery datatables using moment -
i've got working in firefox running in ie9-11 or chrome error's stating,
"script438: object doesn't support property or method 'replace' file: moment.min.js, line: 6, column: 4546"
below column code,
{ data: "calltime", title: "time", classname: "calltime", render: function (data) { return moment(data, string).format('hh:mm'); } },
i'm using datatables 1.10.4 , moment 2.10.3 wondering if solution change field datetime , format display/input time.
i have tried doing "return moment(data).format('hh:mm');" displays "invalid date".
couldn't find other way work switch output datetime.today + calltime , format datetime display time.
now need figure out why search doesn't work either date or time fields.
Comments
Post a Comment