{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular.js/pulls/comments/23569148","id":23569148,"diff_hunk":"@@ -457,5 +457,14 @@ describe('filters', function() {\n       expect(date(new Date(2003, 8, 10, 3, 2, 4), 'yyyy-MM-dd HH-mm-ss')).toEqual('2003-09-10 03-02-04');\n       expect(date(new Date(Date.UTC(2003, 8, 10, 3, 2, 4)), 'yyyy-MM-dd HH-mm-ss', 'UTC')).toEqual('2003-09-10 03-02-04');\n     });\n+\n+    it('should support conversion to any timezone', function() {\n+      expect(date(new Date(Date.UTC(2003, 8, 10, 3, 2, 4)), 'yyyy-MM-dd HH-mm-ssZ', 'GMT+0500')).toEqual('2003-09-10 08-02-04+0500');\n+    });\n+\n+    it('should fallback to default timezone in case an unknown timezone was passed', function() {","path":"test/ng/filter/filtersSpec.js","position":9,"original_position":9,"commit_id":"2968e509c246cdd656b56559c8983f1508531ba7","original_commit_id":"2968e509c246cdd656b56559c8983f1508531ba7","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"body":"Or throw?","created_at":"2015-01-26T22:11:39Z","updated_at":"2015-01-26T22:11:39Z","html_url":"https://github.com/angular/angular.js/pull/10858#discussion_r23569148","pull_request_url":"https://api.github.com/repos/angular/angular.js/pulls/10858","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/23569148"},"html":{"href":"https://github.com/angular/angular.js/pull/10858#discussion_r23569148"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.js/pulls/10858"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/10858","id":27982859,"html_url":"https://github.com/angular/angular.js/pull/10858","diff_url":"https://github.com/angular/angular.js/pull/10858.diff","patch_url":"https://github.com/angular/angular.js/pull/10858.patch","issue_url":"https://api.github.com/repos/angular/angular.js/issues/10858","number":10858,"state":"open","locked":false,"title":"feat(filter): support conversion to timezone other than UTC","user":{"login":"shahata","id":1764161,"avatar_url":"https://avatars.githubusercontent.com/u/1764161?v=3","gravatar_id":"","url":"https://api.github.com/users/shahata","html_url":"https://github.com/shahata","followers_url":"https://api.github.com/users/shahata/followers","following_url":"https://api.github.com/users/shahata/following{/other_user}","gists_url":"https://api.github.com/users/shahata/gists{/gist_id}","starred_url":"https://api.github.com/users/shahata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahata/subscriptions","organizations_url":"https://api.github.com/users/shahata/orgs","repos_url":"https://api.github.com/users/shahata/repos","events_url":"https://api.github.com/users/shahata/events{/privacy}","received_events_url":"https://api.github.com/users/shahata/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-24T21:43:33Z","updated_at":"2015-01-26T22:11:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f1dfce9770be6f114aa0d7ac1e4f9530895f519","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular.js/pulls/10858/commits","review_comments_url":"https://api.github.com/repos/angular/angular.js/pulls/10858/comments","review_comment_url":"https://api.github.com/repos/angular/angular.js/pulls/comments/{number}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/10858/comments","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/2968e509c246cdd656b56559c8983f1508531ba7","head":{"label":"shahata:non-utc-timezones","ref":"non-utc-timezones","sha":"2968e509c246cdd656b56559c8983f1508531ba7","user":{"login":"shahata","id":1764161,"avatar_url":"https://avatars.githubusercontent.com/u/1764161?v=3","gravatar_id":"","url":"https://api.github.com/users/shahata","html_url":"https://github.com/shahata","followers_url":"https://api.github.com/users/shahata/followers","following_url":"https://api.github.com/users/shahata/following{/other_user}","gists_url":"https://api.github.com/users/shahata/gists{/gist_id}","starred_url":"https://api.github.com/users/shahata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahata/subscriptions","organizations_url":"https://api.github.com/users/shahata/orgs","repos_url":"https://api.github.com/users/shahata/repos","events_url":"https://api.github.com/users/shahata/events{/privacy}","received_events_url":"https://api.github.com/users/shahata/received_events","type":"User","site_admin":false},"repo":{"id":18339380,"name":"angular.js","full_name":"shahata/angular.js","owner":{"login":"shahata","id":1764161,"avatar_url":"https://avatars.githubusercontent.com/u/1764161?v=3","gravatar_id":"","url":"https://api.github.com/users/shahata","html_url":"https://github.com/shahata","followers_url":"https://api.github.com/users/shahata/followers","following_url":"https://api.github.com/users/shahata/following{/other_user}","gists_url":"https://api.github.com/users/shahata/gists{/gist_id}","starred_url":"https://api.github.com/users/shahata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahata/subscriptions","organizations_url":"https://api.github.com/users/shahata/orgs","repos_url":"https://api.github.com/users/shahata/repos","events_url":"https://api.github.com/users/shahata/events{/privacy}","received_events_url":"https://api.github.com/users/shahata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shahata/angular.js","description":"","fork":true,"url":"https://api.github.com/repos/shahata/angular.js","forks_url":"https://api.github.com/repos/shahata/angular.js/forks","keys_url":"https://api.github.com/repos/shahata/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shahata/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shahata/angular.js/teams","hooks_url":"https://api.github.com/repos/shahata/angular.js/hooks","issue_events_url":"https://api.github.com/repos/shahata/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/shahata/angular.js/events","assignees_url":"https://api.github.com/repos/shahata/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/shahata/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/shahata/angular.js/tags","blobs_url":"https://api.github.com/repos/shahata/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shahata/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shahata/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/shahata/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shahata/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/shahata/angular.js/languages","stargazers_url":"https://api.github.com/repos/shahata/angular.js/stargazers","contributors_url":"https://api.github.com/repos/shahata/angular.js/contributors","subscribers_url":"https://api.github.com/repos/shahata/angular.js/subscribers","subscription_url":"https://api.github.com/repos/shahata/angular.js/subscription","commits_url":"https://api.github.com/repos/shahata/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/shahata/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/shahata/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/shahata/angular.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/shahata/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/shahata/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shahata/angular.js/merges","archive_url":"https://api.github.com/repos/shahata/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shahata/angular.js/downloads","issues_url":"https://api.github.com/repos/shahata/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/shahata/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/shahata/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/shahata/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shahata/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/shahata/angular.js/releases{/id}","created_at":"2014-04-01T18:09:51Z","updated_at":"2015-01-23T23:27:15Z","pushed_at":"2015-01-24T22:27:31Z","git_url":"git://github.com/shahata/angular.js.git","ssh_url":"git@github.com:shahata/angular.js.git","clone_url":"https://github.com/shahata/angular.js.git","svn_url":"https://github.com/shahata/angular.js","homepage":"http://angularjs.org","size":62366,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"36a14e65d10e42a6d5c3cbc097d0ca3774efb1ac","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":460078,"name":"angular.js","full_name":"angular/angular.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular.js","description":"HTML enhanced for web apps","fork":false,"url":"https://api.github.com/repos/angular/angular.js","forks_url":"https://api.github.com/repos/angular/angular.js/forks","keys_url":"https://api.github.com/repos/angular/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.js/teams","hooks_url":"https://api.github.com/repos/angular/angular.js/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.js/events","assignees_url":"https://api.github.com/repos/angular/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.js/tags","blobs_url":"https://api.github.com/repos/angular/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.js/languages","stargazers_url":"https://api.github.com/repos/angular/angular.js/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.js/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.js/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.js/subscription","commits_url":"https://api.github.com/repos/angular/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/angular/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.js/merges","archive_url":"https://api.github.com/repos/angular/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.js/downloads","issues_url":"https://api.github.com/repos/angular/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.js/releases{/id}","created_at":"2010-01-06T00:34:37Z","updated_at":"2015-01-26T21:31:46Z","pushed_at":"2015-01-26T21:12:29Z","git_url":"git://github.com/angular/angular.js.git","ssh_url":"git@github.com:angular/angular.js.git","clone_url":"https://github.com/angular/angular.js.git","svn_url":"https://github.com/angular/angular.js","homepage":"http://angularjs.org","size":210454,"stargazers_count":34471,"watchers_count":34471,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13778,"mirror_url":null,"open_issues_count":1109,"forks":13778,"open_issues":1109,"watchers":34471,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/10858"},"html":{"href":"https://github.com/angular/angular.js/pull/10858"},"issue":{"href":"https://api.github.com/repos/angular/angular.js/issues/10858"},"comments":{"href":"https://api.github.com/repos/angular/angular.js/issues/10858/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.js/pulls/10858/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.js/pulls/10858/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.js/statuses/2968e509c246cdd656b56559c8983f1508531ba7"}}}}