Skip to content

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