Skip to content

Dev #284

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

Merged
merged 1 commit into from
Dec 15, 2011
Merged

Dev #284

merged 1 commit into from
Dec 15, 2011

Conversation

RichardBradley
Copy link

bug fix - swallowing all date parsing errors breaks the datepicker option "defaultDate" on relative values like "-18y"

Repro:

Create a date picker with options "{defaultDate:'-1y'}" -- without timepicker-addon it works fine; with timepicker-addon we get a null ref error when trying to display the popup.

This commit fixes it.

…tion "defaultDate" on relative values like "-18y"
trentrichardson added a commit that referenced this pull request Dec 15, 2011
Fix error parsing date when setting option defaultDate
@trentrichardson trentrichardson merged commit 1a15262 into trentrichardson:dev Dec 15, 2011
@trentrichardson
Copy link
Owner

Thanks for the patch!

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 this pull request may close these issues.

2 participants