Skip to content

Timepicker does not support Datepicker style relative date formats (with minDate and maxDate) #546

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

Open
bollard opened this issue Feb 5, 2013 · 0 comments

Comments

@bollard
Copy link

bollard commented Feb 5, 2013

Original issue raised in this StackOverflow question

Datepicker and Timepicker both support minDate and maxDate properties. Datepicker however, allows you to specify relative date formats (such as +1y). See here.

Timepicker does not appear able to parse these date formats and throws an error:

Error parsing the date string: Missing number at position 0
date string = +1y
date format = yy-mm-dd 

Please add support for relative date formats, as implemented in Datepicker

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

Successfully merging a pull request may close this issue.

1 participant