Date format when filtering

Answered
Shane Zammit asked on November 15, 2021

Hi,
 
It appears that when you define mapping in a datasource for date, the format does not carry over to the date filter, is there a way to fix this?
See attached file...

Attachments:
bug.PNG

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster November 16, 2021

Hello, Shane,
 
Thank you for contacting us.
 
Kindly note that the formatting in the date filter only supports two possible values: "dd/MM/yyyy" or "MM/dd/yyyy". Currently, other input formats are not supported since they can lead to collisions during different format interpretations. The formatting can be adjusted using the filter.dateFormat property of the options object
 
Please let us know if you have more questions.
 
Kind regards,
Nadia

Public
Shane Zammit November 16, 2021

Thanks, I was not setting the dateFormat filter object

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster November 16, 2021

Hello,
 
Thank you for the feedback. 
 
As always, feel free to contact us if other questions arise.
 
Kind regards,
Nadia

Please login or Register to Submit Answer