ngx-mat-datepicker-simple-formatting
Installing
npm install @binarykits/ngx-mat-datepicker-simple-formatting
Usage
Use this library together with Angular Material's datepicker, when you do want to:
- Avoid using the big
moment.js
andMomentDateAdapter
- Use
day.js
but avoid copying the code from a customized adapter - Freely set date format per field, instead of a root format injection
- User one
input
for datepicker, and another one for masked formcontrol input (with@binarykits/ngx-mask-date
)
Demo site
Demo.