-
Notifications
You must be signed in to change notification settings - Fork 29
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
date.getDate is not a function #15
Comments
Looks like the date object is lack of |
I am passing date object itself. |
Could you provide any source code? |
It seems it's missing some timezone setup. I get the same error |
Any example? https://plnkr.co/ |
BTW, there was no timezone option when this issue was created. |
I figured it out. As usual it's date converting stuff. I got my date from a C# WebAPI, and I had to convert it to a real javascript date $scope.birthdate = moment($scope.user.birthdate).toDate(); |
If you like to use a string as the model value instead of Date object, try |
Is there any way to make this play nice with momentjs? |
I don't use momentjs. Any suggestion? |
Yah I was thinking about it. Seems it would be a substantial rebuild. Ended On Wed, Jun 22, 2016, 1:10 PM eight notifications@github.com wrote:
|
Thanks for your appreciate. If you have some idea about how they should work together, feel free to create a new issue. |
@james-hoegerl mind sharing it? i also get the date.getDate getting data from a c# webApi |
Anyways, when getting the data from a controller simply calling |
@james-hoegerl Starting from v5.0.0, the core parser and input mask are pulled out as custom-input. You might be interested to make it works with momentjs. |
It is giving me error as shown below.
The text was updated successfully, but these errors were encountered: