ember-date-picker icon indicating copy to clipboard operation
ember-date-picker copied to clipboard

if using MM/YYYY don't show days

Open smcclstocks opened this issue 10 years ago • 2 comments

maybe isn't a big deal but it would avoid some confusion when days aren't relevant. Seriously, this could be dumb but just tossing it out there to get your reaction.

smcclstocks avatar Jun 14 '14 01:06 smcclstocks

Yeah, that makes sense. I could also see a use case for hiding the year selector; for instance if you have a birthday field that doesn't require the birth year.

Maybe instead of parsing the dateFormat to internally decide what columns/selectors to display, I'll just make it a little more straightforward and declarative, and expose 3 additional optional parameters: hideMonth, hideDay, and hideYear.

billdami avatar Jun 16 '14 14:06 billdami

sounds much better.

smcclstocks avatar Jul 04 '14 02:07 smcclstocks