I am using Angular Material for my UI. Everything seems to be OK until i entered the date manually (without calandar). When i enter the date and click out of the input, the month and day get switched automatically.
By the way, i tried{ provide: MAT_DATE_LOCALE, useValue: 'fr-FR' }
to set the locale to french,
i event tried to set the local during runtime using this.dateAdapter.setLocale('fr');
but i still have the same problem.
Any idea how to fix this ?