Problem with data render

Problem with data render

tmelostmelos Posts: 1Questions: 1Answers: 0

I'm in trouble trying to convert a timestamp field.
I tried to use this way:

columnDefs: [ {
targets: 5,
render: $.fn.dataTable.render.moment( 'DD/MM/YYYY', 'YYYY-MM-DD hh:mm:ss')
} ]

This discussion has been closed.