{"action":"created","comment":{"url":"https://api.github.com/repos/z-dev/dota-news/pulls/comments/50423631","id":50423631,"diff_hunk":"@@ -11,8 +12,8 @@ export default {\n       storiesRef.on('value', (snapshot) => {\n         const stories = (snapshot.val() ? snapshot.val() : [])\n         const orderedStories = _.sortBy(stories, (story) => (story.date)).reverse()\n-        dispatch({type: 'LOAD_STORIES_SUCCESS', payload: orderedStories})\n-        return (console.log(stories))\n+        const convertDate = _.map(orderedStories, (story) => { return({...story, convertedDate: moment(story.date).calendar()}) })","path":"src/scripts/redux/actions/stories.js","position":14,"original_position":14,"commit_id":"3f9e5e70df412843fb834fdc6bf7243870f2018d","original_commit_id":"3f9e5e70df412843fb834fdc6bf7243870f2018d","user":{"login":"richardgill","id":6640874,"avatar_url":"https://avatars.githubusercontent.com/u/6640874?v=3","gravatar_id":"","url":"https://api.github.com/users/richardgill","html_url":"https://github.com/richardgill","followers_url":"https://api.github.com/users/richardgill/followers","following_url":"https://api.github.com/users/richardgill/following{/other_user}","gists_url":"https://api.github.com/users/richardgill/gists{/gist_id}","starred_url":"https://api.github.com/users/richardgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardgill/subscriptions","organizations_url":"https://api.github.com/users/richardgill/orgs","repos_url":"https://api.github.com/users/richardgill/repos","events_url":"https://api.github.com/users/richardgill/events{/privacy}","received_events_url":"https://api.github.com/users/richardgill/received_events","type":"User","site_admin":false},"body":"chain sortyBy -> reverse -> map. Assigned to `orderedStories`?","created_at":"2016-01-21T16:25:19Z","updated_at":"2016-01-21T16:25:19Z","html_url":"https://github.com/z-dev/dota-news/pull/15#discussion_r50423631","pull_request_url":"https://api.github.com/repos/z-dev/dota-news/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/z-dev/dota-news/pulls/comments/50423631"},"html":{"href":"https://github.com/z-dev/dota-news/pull/15#discussion_r50423631"},"pull_request":{"href":"https://api.github.com/repos/z-dev/dota-news/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/z-dev/dota-news/pulls/15","id":56770110,"html_url":"https://github.com/z-dev/dota-news/pull/15","diff_url":"https://github.com/z-dev/dota-news/pull/15.diff","patch_url":"https://github.com/z-dev/dota-news/pull/15.patch","issue_url":"https://api.github.com/repos/z-dev/dota-news/issues/15","number":15,"state":"open","locked":false,"title":"updated style and changed date to be user friendly","user":{"login":"JohnAGill","id":15132082,"avatar_url":"https://avatars.githubusercontent.com/u/15132082?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnAGill","html_url":"https://github.com/JohnAGill","followers_url":"https://api.github.com/users/JohnAGill/followers","following_url":"https://api.github.com/users/JohnAGill/following{/other_user}","gists_url":"https://api.github.com/users/JohnAGill/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnAGill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnAGill/subscriptions","organizations_url":"https://api.github.com/users/JohnAGill/orgs","repos_url":"https://api.github.com/users/JohnAGill/repos","events_url":"https://api.github.com/users/JohnAGill/events{/privacy}","received_events_url":"https://api.github.com/users/JohnAGill/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-21T16:07:44Z","updated_at":"2016-01-21T16:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2283219d20815daae3ceb25bf89a0e64d6ab8be6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/z-dev/dota-news/pulls/15/commits","review_comments_url":"https://api.github.com/repos/z-dev/dota-news/pulls/15/comments","review_comment_url":"https://api.github.com/repos/z-dev/dota-news/pulls/comments{/number}","comments_url":"https://api.github.com/repos/z-dev/dota-news/issues/15/comments","statuses_url":"https://api.github.com/repos/z-dev/dota-news/statuses/3f9e5e70df412843fb834fdc6bf7243870f2018d","head":{"label":"z-dev:style-update-and-date-convert","ref":"style-update-and-date-convert","sha":"3f9e5e70df412843fb834fdc6bf7243870f2018d","user":{"login":"z-dev","id":15836591,"avatar_url":"https://avatars.githubusercontent.com/u/15836591?v=3","gravatar_id":"","url":"https://api.github.com/users/z-dev","html_url":"https://github.com/z-dev","followers_url":"https://api.github.com/users/z-dev/followers","following_url":"https://api.github.com/users/z-dev/following{/other_user}","gists_url":"https://api.github.com/users/z-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/z-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z-dev/subscriptions","organizations_url":"https://api.github.com/users/z-dev/orgs","repos_url":"https://api.github.com/users/z-dev/repos","events_url":"https://api.github.com/users/z-dev/events{/privacy}","received_events_url":"https://api.github.com/users/z-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":49717949,"name":"dota-news","full_name":"z-dev/dota-news","owner":{"login":"z-dev","id":15836591,"avatar_url":"https://avatars.githubusercontent.com/u/15836591?v=3","gravatar_id":"","url":"https://api.github.com/users/z-dev","html_url":"https://github.com/z-dev","followers_url":"https://api.github.com/users/z-dev/followers","following_url":"https://api.github.com/users/z-dev/following{/other_user}","gists_url":"https://api.github.com/users/z-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/z-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z-dev/subscriptions","organizations_url":"https://api.github.com/users/z-dev/orgs","repos_url":"https://api.github.com/users/z-dev/repos","events_url":"https://api.github.com/users/z-dev/events{/privacy}","received_events_url":"https://api.github.com/users/z-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/z-dev/dota-news","description":"","fork":false,"url":"https://api.github.com/repos/z-dev/dota-news","forks_url":"https://api.github.com/repos/z-dev/dota-news/forks","keys_url":"https://api.github.com/repos/z-dev/dota-news/keys{/key_id}","collaborators_url":"https://api.github.com/repos/z-dev/dota-news/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/z-dev/dota-news/teams","hooks_url":"https://api.github.com/repos/z-dev/dota-news/hooks","issue_events_url":"https://api.github.com/repos/z-dev/dota-news/issues/events{/number}","events_url":"https://api.github.com/repos/z-dev/dota-news/events","assignees_url":"https://api.github.com/repos/z-dev/dota-news/assignees{/user}","branches_url":"https://api.github.com/repos/z-dev/dota-news/branches{/branch}","tags_url":"https://api.github.com/repos/z-dev/dota-news/tags","blobs_url":"https://api.github.com/repos/z-dev/dota-news/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/z-dev/dota-news/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/z-dev/dota-news/git/refs{/sha}","trees_url":"https://api.github.com/repos/z-dev/dota-news/git/trees{/sha}","statuses_url":"https://api.github.com/repos/z-dev/dota-news/statuses/{sha}","languages_url":"https://api.github.com/repos/z-dev/dota-news/languages","stargazers_url":"https://api.github.com/repos/z-dev/dota-news/stargazers","contributors_url":"https://api.github.com/repos/z-dev/dota-news/contributors","subscribers_url":"https://api.github.com/repos/z-dev/dota-news/subscribers","subscription_url":"https://api.github.com/repos/z-dev/dota-news/subscription","commits_url":"https://api.github.com/repos/z-dev/dota-news/commits{/sha}","git_commits_url":"https://api.github.com/repos/z-dev/dota-news/git/commits{/sha}","comments_url":"https://api.github.com/repos/z-dev/dota-news/comments{/number}","issue_comment_url":"https://api.github.com/repos/z-dev/dota-news/issues/comments{/number}","contents_url":"https://api.github.com/repos/z-dev/dota-news/contents/{+path}","compare_url":"https://api.github.com/repos/z-dev/dota-news/compare/{base}...{head}","merges_url":"https://api.github.com/repos/z-dev/dota-news/merges","archive_url":"https://api.github.com/repos/z-dev/dota-news/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/z-dev/dota-news/downloads","issues_url":"https://api.github.com/repos/z-dev/dota-news/issues{/number}","pulls_url":"https://api.github.com/repos/z-dev/dota-news/pulls{/number}","milestones_url":"https://api.github.com/repos/z-dev/dota-news/milestones{/number}","notifications_url":"https://api.github.com/repos/z-dev/dota-news/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/z-dev/dota-news/labels{/name}","releases_url":"https://api.github.com/repos/z-dev/dota-news/releases{/id}","created_at":"2016-01-15T12:37:29Z","updated_at":"2016-01-20T12:24:11Z","pushed_at":"2016-01-21T16:07:44Z","git_url":"git://github.com/z-dev/dota-news.git","ssh_url":"git@github.com:z-dev/dota-news.git","clone_url":"https://github.com/z-dev/dota-news.git","svn_url":"https://github.com/z-dev/dota-news","homepage":null,"size":23353,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"z-dev:master","ref":"master","sha":"22390160842da88761cd5dded16e6b446815bc7a","user":{"login":"z-dev","id":15836591,"avatar_url":"https://avatars.githubusercontent.com/u/15836591?v=3","gravatar_id":"","url":"https://api.github.com/users/z-dev","html_url":"https://github.com/z-dev","followers_url":"https://api.github.com/users/z-dev/followers","following_url":"https://api.github.com/users/z-dev/following{/other_user}","gists_url":"https://api.github.com/users/z-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/z-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z-dev/subscriptions","organizations_url":"https://api.github.com/users/z-dev/orgs","repos_url":"https://api.github.com/users/z-dev/repos","events_url":"https://api.github.com/users/z-dev/events{/privacy}","received_events_url":"https://api.github.com/users/z-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":49717949,"name":"dota-news","full_name":"z-dev/dota-news","owner":{"login":"z-dev","id":15836591,"avatar_url":"https://avatars.githubusercontent.com/u/15836591?v=3","gravatar_id":"","url":"https://api.github.com/users/z-dev","html_url":"https://github.com/z-dev","followers_url":"https://api.github.com/users/z-dev/followers","following_url":"https://api.github.com/users/z-dev/following{/other_user}","gists_url":"https://api.github.com/users/z-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/z-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z-dev/subscriptions","organizations_url":"https://api.github.com/users/z-dev/orgs","repos_url":"https://api.github.com/users/z-dev/repos","events_url":"https://api.github.com/users/z-dev/events{/privacy}","received_events_url":"https://api.github.com/users/z-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/z-dev/dota-news","description":"","fork":false,"url":"https://api.github.com/repos/z-dev/dota-news","forks_url":"https://api.github.com/repos/z-dev/dota-news/forks","keys_url":"https://api.github.com/repos/z-dev/dota-news/keys{/key_id}","collaborators_url":"https://api.github.com/repos/z-dev/dota-news/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/z-dev/dota-news/teams","hooks_url":"https://api.github.com/repos/z-dev/dota-news/hooks","issue_events_url":"https://api.github.com/repos/z-dev/dota-news/issues/events{/number}","events_url":"https://api.github.com/repos/z-dev/dota-news/events","assignees_url":"https://api.github.com/repos/z-dev/dota-news/assignees{/user}","branches_url":"https://api.github.com/repos/z-dev/dota-news/branches{/branch}","tags_url":"https://api.github.com/repos/z-dev/dota-news/tags","blobs_url":"https://api.github.com/repos/z-dev/dota-news/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/z-dev/dota-news/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/z-dev/dota-news/git/refs{/sha}","trees_url":"https://api.github.com/repos/z-dev/dota-news/git/trees{/sha}","statuses_url":"https://api.github.com/repos/z-dev/dota-news/statuses/{sha}","languages_url":"https://api.github.com/repos/z-dev/dota-news/languages","stargazers_url":"https://api.github.com/repos/z-dev/dota-news/stargazers","contributors_url":"https://api.github.com/repos/z-dev/dota-news/contributors","subscribers_url":"https://api.github.com/repos/z-dev/dota-news/subscribers","subscription_url":"https://api.github.com/repos/z-dev/dota-news/subscription","commits_url":"https://api.github.com/repos/z-dev/dota-news/commits{/sha}","git_commits_url":"https://api.github.com/repos/z-dev/dota-news/git/commits{/sha}","comments_url":"https://api.github.com/repos/z-dev/dota-news/comments{/number}","issue_comment_url":"https://api.github.com/repos/z-dev/dota-news/issues/comments{/number}","contents_url":"https://api.github.com/repos/z-dev/dota-news/contents/{+path}","compare_url":"https://api.github.com/repos/z-dev/dota-news/compare/{base}...{head}","merges_url":"https://api.github.com/repos/z-dev/dota-news/merges","archive_url":"https://api.github.com/repos/z-dev/dota-news/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/z-dev/dota-news/downloads","issues_url":"https://api.github.com/repos/z-dev/dota-news/issues{/number}","pulls_url":"https://api.github.com/repos/z-dev/dota-news/pulls{/number}","milestones_url":"https://api.github.com/repos/z-dev/dota-news/milestones{/number}","notifications_url":"https://api.github.com/repos/z-dev/dota-news/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/z-dev/dota-news/labels{/name}","releases_url":"https://api.github.com/repos/z-dev/dota-news/releases{/id}","created_at":"2016-01-15T12:37:29Z","updated_at":"2016-01-20T12:24:11Z","pushed_at":"2016-01-21T16:07:44Z","git_url":"git://github.com/z-dev/dota-news.git","ssh_url":"git@github.com:z-dev/dota-news.git","clone_url":"https://github.com/z-dev/dota-news.git","svn_url":"https://github.com/z-dev/dota-news","homepage":null,"size":23353,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/z-dev/dota-news/pulls/15"},"html":{"href":"https://github.com/z-dev/dota-news/pull/15"},"issue":{"href":"https://api.github.com/repos/z-dev/dota-news/issues/15"},"comments":{"href":"https://api.github.com/repos/z-dev/dota-news/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/z-dev/dota-news/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/z-dev/dota-news/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/z-dev/dota-news/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/z-dev/dota-news/statuses/3f9e5e70df412843fb834fdc6bf7243870f2018d"}}}}