Good afternoon,
I am adding language option to a page and need to have the datepicker localised.
I have found this: https://editor.datatables.net/examples/dates/i18n.html
Adding i18n data to each table is a bit annoying and I would like to have something I can configure at least per page.
I have tryied to configure each field like this:
{
label: "Date de naiss.",
name: "child.birth_date",
type: 'datetime',
format: 'YYYY-MM-DD',
opts: {
momentLocale: 'fr'
}
}
But I did not mange to make it work. How could I do it?
Thanks,
Fabio