ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
393 stars 48 forks source link

[MtxDatetimepicker] Using type "year" doesn't work #204

Closed Kristjan-Kiolein closed 1 year ago

Kristjan-Kiolein commented 1 year ago

How to replicate:

There doesn't seem to be date format switch option for "year" even though there is MtxDatetimepickerType type for that

nzbin commented 1 year ago

Can you use the latest version of v14 and test again? If you still have question, please give me an online example.

Kristjan-Kiolein commented 1 year ago

Was missing MtxNativeDatetimeModule import 🤦

Not related to ticket but how to change display format to just yyyy: https://stackblitz.com/edit/angular-material-13-starter-x1xj4z-qfqxbk?file=src%2Fapp%2Fapp.module.ts,src%2Fapp%2Fapp.component.ts