I have a Datatble for my django web app, the backend sends date for the field updated as ‘Feb. 14, 2023, 3:58 p.m.’. when I use the sorting feature, it always sorts as alphabetical order, where ‘April 24, 2023, 10:04 a.m.’ comes before Feb because A is bigger than F in alphabetical order, so how to solve this? I tries some from datatble jquery documentation and some StackOverflow answers but it didn’t gave me the desired output
2
Answers
after jquery importing, import momentjs
and add this script
Use this postgres Code.
use dummy table as
Insert data