Created
September 6, 2015 19:27
-
-
Save tkc/5c0e3afc44959b469b6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$http.get(url).success(function(data){ | |
$scope.data = data; // get row data | |
$scope.data.mydatefield = new Date($scope.data.mydatefield); // convert filed to date | |
}); | |
sample code | |
http://stackoverflow.com/questions/30537886/error-ngmodeldatefmt-expected-2015-05-29t190616-693209z-to-be-a-date-a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment