Skip to content
This repository was archived by the owner on May 28, 2019. It is now read-only.

Validate the date object using the modelValue #94

Closed
wants to merge 1 commit into from

Conversation

alexanderchan
Copy link
Contributor

This fixes one of the two tests that fail when switching to angular#1.3.0-rc.2. The viewValue returns a string value each time but the modelValue returns the object version. See the docs. The tests also pass for angular 1.2.25.

This fixes one of the two tests that fail when switching to angular#1.3.0-rc.2.  The viewValue returns a string value each time but the modelValue returns the object version.  The tests also pass for angular 1.2.25.
@phillipCouto
Copy link

+1 this PR.

@AndrewFreese
Copy link

This change worked for me.

@kdekooter
Copy link

Are there any project collaborators around willing to merge this pull request?

@alexanderchan
Copy link
Contributor Author

Hello kdekooter, I should have had these #99 fixes in a single pull request to simplify things. I believe #99 to be more complete because this seemed to only fix some of the people's problems (probably those mapping date objects directly to the ng-model). The other fix I believe resolves people who are using string formatting, but I have had to submit a fix to angular that should arrive in 1.3.X that will resolve the last of the problems.

@alexanderchan alexanderchan added this to the 0.0.5 milestone Nov 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants