GitHub PullRequestReviewCommentEvent at 2014-02-28 21:00:10
Repository: angular.js
Actor: blesh
Payload: {"comment":{"url":"https://api.github.com/repos/angular/angular.js/pulls/comments/10181112","id":10181112,"diff_hunk":"@@ -228,6 +228,30 @@ function timeZoneGetter(date) {\n   return paddedZone;\n }\n \n+function getFirstThursdayOfYear(year) {\n+    var firstDay = (new Date(year, 0, 1)).getDay();\n+    return new Date(year, 0, ((firstDay <= 4) ? 5 : 12) - firstDay);\n+}\n+\n+function getThursdayThisWeek(date) {\n+   var day = date.getDay(),\n+      d = date.getDate();\n+\n+   return new Date(date.getFullYear(), date.getMonth(), d + (4 - day));\n+}\n+\n+function weekGetter(size) {","path":"src/ng/filter/filters.js","position":16,"original_position":16,"commit_id":"e46bdf0045a7987d4c00fe822a2ce685a1467f8c","original_commit_id":"e46bdf0045a7987d4c00fe822a2ce685a1467f8c","user":{"login":"blesh","id":1540597,"avatar_url":"https://avatars.githubusercontent.com/u/1540597","gravatar_id":"9035acc6a3970f0a52f66ed3f703219b","url":"https://api.github.com/users/blesh","html_url":"https://github.com/blesh","followers_url":"https://api.github.com/users/blesh/followers","following_url":"https://api.github.com/users/blesh/following{/other_user}","gists_url":"https://api.github.com/users/blesh/gists{/gist_id}","starred_url":"https://api.github.com/users/blesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesh/subscriptions","organizations_url":"https://api.github.com/users/blesh/orgs","repos_url":"https://api.github.com/users/blesh/repos","events_url":"https://api.github.com/users/blesh/events{/privacy}","received_events_url":"https://api.github.com/users/blesh/received_events","type":"User","site_admin":false},"body":"I think I'll add a comment and some better variable names around this so it looks a little less like voodoo.","created_at":"2014-02-28T21:00:10Z","updated_at":"2014-02-28T21:00:10Z","html_url":"https://github.com/angular/angular.js/pull/5864#discussion_r10181112","pull_request_url":"https://api.github.com/repos/angular/angular.js/pulls/5864","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/10181112"},"html":{"href":"https://github.com/angular/angular.js/pull/5864#discussion_r10181112"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.js/pulls/5864"}}}}