It works in jsfiddle but when I apply it to the project, it looks like 'dd / mm / yyyy' as an image but it does the filtering in 'mm / dd / yyyy' format and gives wrong results. (If I select a day other than 1-12 from the day section of the date picker, it doesn't show any results.)