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

Improvement: Added Invalid Date handling #183

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

JGSimko
Copy link

@JGSimko JGSimko commented Oct 15, 2015

Improvement: Added Invalid Date handling for setting up the current view when calendar is toggled. The view is focused on the current date instead of some day in 1899.

My implementation has cases where "---" gets set on the model (multi-object editing related) which resulted in issues related to the datepicker starting at a date in the year 1899. The user would have to manually navigate back to more current years before they could narrow down the date they want to pick.

This fix shouldn't be affecting the model value at all.

barbossa pushed a commit to barbossa/angular-datepicker that referenced this pull request Jul 3, 2016
Fixed error "Invalid date" g00fy-#183. 
For example, django rest framework return null if value is empty. Without this fix, I always get error "Invalid date"
Conflicts:
	app/scripts/datePicker.js
	app/scripts/input.js
	app/templates/datepicker.html
	bower.json
	dist/angular-datepicker.js
	dist/angular-datepicker.min.js
	package.json
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