ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

Selection of year and month #3

Closed josephwaiguru closed 8 years ago

josephwaiguru commented 8 years ago

How can i select a specific year or month ?

allenhwkim commented 8 years ago

Thanks for asking. You can just specify year and month. e.g. year="1969" month="12" . Checkout the last example on this page, https://plnkr.co/edit/lbNRAh?p=preview

<input [(ngModel)]="date5" datetime-picker date-format="yMd HH:mm" year="2014" month="12" day="31" hour="23" minute="59" />

josephwaiguru commented 8 years ago

Thank you but I meant something like this

datepicker

allenhwkim commented 8 years ago

This has not been planned. If more user request this feature, I will reopen this feature.