{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/11165","repository_url":"https://api.github.com/repos/angular/angular.js","labels_url":"https://api.github.com/repos/angular/angular.js/issues/11165/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/11165/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/11165/events","html_url":"https://github.com/angular/angular.js/issues/11165","id":58755746,"number":11165,"title":"$http request with date parameter crashes on IE8 on toISOString()","user":{"login":"vincentsels","id":1068863,"avatar_url":"https://avatars.githubusercontent.com/u/1068863?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentsels","html_url":"https://github.com/vincentsels","followers_url":"https://api.github.com/users/vincentsels/followers","following_url":"https://api.github.com/users/vincentsels/following{/other_user}","gists_url":"https://api.github.com/users/vincentsels/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentsels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentsels/subscriptions","organizations_url":"https://api.github.com/users/vincentsels/orgs","repos_url":"https://api.github.com/users/vincentsels/repos","events_url":"https://api.github.com/users/vincentsels/events{/privacy}","received_events_url":"https://api.github.com/users/vincentsels/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/branch:%201.2.x","name":"branch: 1.2.x","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/browser:%20IE8","name":"browser: IE8","color":"ededed"},{"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20$http","name":"component: $http","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/38","html_url":"https://github.com/angular/angular.js/milestones/Ice%20Box","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/38/labels","id":529901,"number":38,"title":"Ice Box","description":"Milestone for valid issues and bugs that we have no aspirations on fixing any time soon because they are not affecting primary use-cases and are not aligned with our goals.","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":208,"closed_issues":233,"state":"open","created_at":"2014-01-08T08:19:21Z","updated_at":"2016-04-19T12:41:35Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-24T15:37:33Z","updated_at":"2016-04-19T12:41:35Z","closed_at":"2016-04-19T12:41:35Z","body":"On IE8, any $http request that passes a `date` parameter will crash with error message `Object doesn't support this property or method` because the `buildUrl` method uses the `toISOString()` method which only got introduced in IE9. Tested with Angular v1.2.24.\r\n\r\nOffending line of code: https://github.com/angular/angular.js/blob/v1.2.x/src/ng/http.js#L1088\r\n\r\nEasily fixed with [a polyfill](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString), but I'm not sure what Angular's point of view is regarding polyfills, I can't seem to find any other."}}