ng-bs-daterangepicker icon indicating copy to clipboard operation
ng-bs-daterangepicker copied to clipboard

ng-model notworking, when assigen iso-time string

Open NSLog0 opened this issue 8 years ago • 2 comments

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 avatar Jan 25 '16 09:01 NSLog0