Releases: sapozhnikovay/ngx-mat-datefns-date-adapter
Releases · sapozhnikovay/ngx-mat-datefns-date-adapter
11.2.2
Fix date-fns/locales ES import for Jest #10
Fix possible regression with date-fns ES imports. Bump date-fns peer dependency to ^2.22.1
Fix optional chaining for the options property. #12
All NgxDateFnsDateAdapter constructor parameters are optional now. You can now omit available locales array if you want to use en-US locale only.
11.2.1
11.2.0
11.1.0
Add support for the ES modules for the date-fns locales. See #4 .
This enables tree-shaking by Angular builder.
Also, it allows to import locales in 2 ways in code:
- pre-import locales in module definition and use with string label later in dateAdapter.setLocale() method. This is partially compatible with the previous package versions.
- import locale object directly in dateAdapter.setLocale() method.
11.0.2
11.0.0
Add support for Angular 11
10.0.0
Add Angular 10 support
9.0.1
Update package version to support different Angular versions.