How to change the format of a date using the SearchBuilder?
How to change the format of a date using the SearchBuilder?
ioclaudio
Posts: 13Questions: 3Answers: 0
in DataTables
Hi,
I'm using a table like this one: https://jsfiddle.net/ioclaudio/dyqcb38n/8/
In this table I'm using the SearchBuilder to filter the data and in this table I have a column that is a date.
How can I:
- format the column "data inizio" with the format "DD/MM/YY" ?
- use the same format in the SearchBuilder ?
- customize the strings of the calendar widgwet (the names of the months and of the days of the week) ?
Thank you very much.
cld
Replies
You can use the Moment plugin to achieve that - see your example update here: https://jsfiddle.net/zqrd89Ln/
See this example for the change of the strings: https://datatables.net/extensions/datetime/examples/initialisation/i18n.html
Colin