Hello,
I’m building a dashboard for the french public.
I would like to know how it is possible to change the format of the datepicker (from YYYY/MM/DD to DD/MM/YYYY) ?
Also is it possible to translate the calendar part ?
Thanks in advance.
Hello,
I’m building a dashboard for the french public.
I would like to know how it is possible to change the format of the datepicker (from YYYY/MM/DD to DD/MM/YYYY) ?
Also is it possible to translate the calendar part ?
Thanks in advance.
Hi @Nabil_Servais,
Thanks for posting! Check out this thread.
You can use strftime from the Python datetime library to re-format the string any way you choose:
datetime — Basic date and time types — Python 3.10.6 documentation
Caroline