matdatepicker date format code example
Example: mat datepicker pt-br
import {MAT_DATE_LOCALE} from '@angular/material';
...
providers: [{ provide: MAT_DATE_LOCALE, useValue: 'pt-BR' }]
import {MAT_DATE_LOCALE} from '@angular/material';
...
providers: [{ provide: MAT_DATE_LOCALE, useValue: 'pt-BR' }]