PHP date function strtotime(d-m-Y) its not getting sort in Grid
PHP date function strtotime(d-m-Y) its not getting sort in Grid
SalmanSalu
Posts: 1Questions: 1Answers: 0
I am Developing application inLaravel 5.4 I'm Using DataTable Grid its not sorting d-m-Y format PHP to convert date like dd-mm-yyyy . Its not properly sorting the Date Column . But in database its in YYYY-MM-DD . In this format sorting is working Fine. User wants to change Date Format like DD-MM-YYYY if i change this format means sorting is not working . I Used date-uk.js its not helping me. How to Solveit??? kindly help me
This discussion has been closed.
Answers
See this blog post.
The date-uk plug-in should work as well. If it isn't then please link to a test case showing the issue.
Allan