This is an Angular 2 Material project that demostrates how to create a ControlValueAccessor for manipulating dates formats when using Angular Material Datepicker. Sometimes you may need to have multiple date formats for in your Angular application and this shows you how you can easily achieve that without a thirdparty library. You can follow step by step tutorials on my website here and a demo can be found here.
mainawycliffe/Custom-Date-Format-using-Material-DatePicker
Using custom date formats for Angular Material Date Picker
TypeScript