Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for date range only on month and day (without year) #195

Open
reorx opened this issue Oct 14, 2014 · 0 comments
Open

Add support for date range only on month and day (without year) #195

reorx opened this issue Oct 14, 2014 · 0 comments

Comments

@reorx
Copy link

reorx commented Oct 14, 2014

Hi David, Pikaday is a great project, it has helped me a lot!

In my recent project, I want to have a datepicker that only allow users to pick date in a specified range of month and day, for example, I want them to select date between 10-20 and 12-25, in which the year would not be restricted, so the date could be 2014-10-21, or 1992-11-01. My first thought was to use minDate and maxDate, but they both requires Date object which includes year in it. I wonder if you would be so kind to add this feature, make Pikaday receives argument like noYearMinDate, noYearMaxDate, or if you think this feature is not necessary enough to be part of Pikaday, just tell me how to tweak the code to achieve that. Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant