Date and time filtering does not work.

Date and time filtering does not work.

umschoolumschool Posts: 5Questions: 3Answers: 0

Hello!
I use moment.min.js and datetime-moment.js.

The data comes in the form of:

"createdDate": "24.09.2021 17:17:31",

Initializing
$.fn.dataTable.moment('DD.MM.YYYY h:mm:ss a');

Only then I run the table.
The problem is that the filtering does not work correctly, for example, I want the most recent date to be the first, but it gets different.
Please tell me what am I doing wrong ?

!
!

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.