How angular material datepicker format formatted datepicker selected time

the time selected by the datepicker tag of angular material is month, day and year. I hope that format will become day, month and year. Official documents are not feasible at all, and official cases on github cannot be done at all, or I don"t understand. Does anyone know the detailed method of how to format


I took a look at API, angular material's datepicker and did not provide an option to set up format.
but it can also be done that, date input is not bound to format, so you can also manually set it to 31max 12max 1997.

MatDatepicker has an output event closedStream, that you can take advantage of, that is, when date picker is closed, get the date and convert it to the format you need, and then put the value back on the input.

Menu