Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

ng-model notworking, when assigen iso-time string #107

Open
NSLog0 opened this issue Jan 25, 2016 · 2 comments
Open

ng-model notworking, when assigen iso-time string #107

NSLog0 opened this issue Jan 25, 2016 · 2 comments

Comments

@NSLog0
Copy link

NSLog0 commented Jan 25, 2016

I am encounter with ng-model, When I get time from server, Then I set a time to ng-model like this

$scope.date_rang.startDate = data.startDate;
$scope.date_rang.endDate = data.endDate;

and data contain '2016-01-25T08:56:33.216Z' , Then I try to another way use new Date(), However, both way it not working for me

How can fix it or any solution

Thank you.

@NSLog0
Copy link
Author

NSLog0 commented Jan 26, 2016

Can any one help me??

@ramilani12
Copy link

Did you try to transform these dates to object moment ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants