{"action":"created","comment":{"url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/comments/178352460","pull_request_review_id":108405801,"id":178352460,"diff_hunk":"@@ -49,10 +49,12 @@ function safeCompare (item1, conditional, item2) {\n }\n \n // Get creation time of a Discord snowflake\n+const Moment = require('moment')\n+\n function getCreationTime (discordSnowflake) {\n   // Shamelessly nicked this code from https://github.com/qeled/discordie\n   let formatted = (+discordSnowflake / 4194304) + 1420070400000\n-  return new Date(parseInt(formatted))\n+  return Moment(new Date(parseInt(formatted)))","path":"src/utils.js","position":10,"original_position":10,"commit_id":"2d9e6d0616c7ba27f3f5a177bd89794fe98b4d61","original_commit_id":"2d9e6d0616c7ba27f3f5a177bd89794fe98b4d61","user":{"login":"linuswillner","id":18148938,"avatar_url":"https://avatars1.githubusercontent.com/u/18148938?v=4","gravatar_id":"","url":"https://api.github.com/users/linuswillner","html_url":"https://github.com/linuswillner","followers_url":"https://api.github.com/users/linuswillner/followers","following_url":"https://api.github.com/users/linuswillner/following{/other_user}","gists_url":"https://api.github.com/users/linuswillner/gists{/gist_id}","starred_url":"https://api.github.com/users/linuswillner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuswillner/subscriptions","organizations_url":"https://api.github.com/users/linuswillner/orgs","repos_url":"https://api.github.com/users/linuswillner/repos","events_url":"https://api.github.com/users/linuswillner/events{/privacy}","received_events_url":"https://api.github.com/users/linuswillner/received_events","type":"User","site_admin":false},"body":"See previous.","created_at":"2018-03-30T19:03:42Z","updated_at":"2018-03-30T19:04:04Z","html_url":"https://github.com/TheSharks/JagTag-JS/pull/1#discussion_r178352460","pull_request_url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/comments/178352460"},"html":{"href":"https://github.com/TheSharks/JagTag-JS/pull/1#discussion_r178352460"},"pull_request":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1","id":178616278,"html_url":"https://github.com/TheSharks/JagTag-JS/pull/1","diff_url":"https://github.com/TheSharks/JagTag-JS/pull/1.diff","patch_url":"https://github.com/TheSharks/JagTag-JS/pull/1.patch","issue_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/1","number":1,"state":"open","locked":false,"title":"Parse dates with moment","user":{"login":"Dougley","id":9768134,"avatar_url":"https://avatars2.githubusercontent.com/u/9768134?v=4","gravatar_id":"","url":"https://api.github.com/users/Dougley","html_url":"https://github.com/Dougley","followers_url":"https://api.github.com/users/Dougley/followers","following_url":"https://api.github.com/users/Dougley/following{/other_user}","gists_url":"https://api.github.com/users/Dougley/gists{/gist_id}","starred_url":"https://api.github.com/users/Dougley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dougley/subscriptions","organizations_url":"https://api.github.com/users/Dougley/orgs","repos_url":"https://api.github.com/users/Dougley/repos","events_url":"https://api.github.com/users/Dougley/events{/privacy}","received_events_url":"https://api.github.com/users/Dougley/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-30T19:01:51Z","updated_at":"2018-03-30T19:04:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5e9b4b87fc7fccd8aa82306f3cab03959f12454","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1/commits","review_comments_url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1/comments","review_comment_url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/1/comments","statuses_url":"https://api.github.com/repos/TheSharks/JagTag-JS/statuses/2d9e6d0616c7ba27f3f5a177bd89794fe98b4d61","head":{"label":"TheSharks:patch/date-parsing","ref":"patch/date-parsing","sha":"2d9e6d0616c7ba27f3f5a177bd89794fe98b4d61","user":{"login":"TheSharks","id":22280399,"avatar_url":"https://avatars3.githubusercontent.com/u/22280399?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSharks","html_url":"https://github.com/TheSharks","followers_url":"https://api.github.com/users/TheSharks/followers","following_url":"https://api.github.com/users/TheSharks/following{/other_user}","gists_url":"https://api.github.com/users/TheSharks/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSharks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSharks/subscriptions","organizations_url":"https://api.github.com/users/TheSharks/orgs","repos_url":"https://api.github.com/users/TheSharks/repos","events_url":"https://api.github.com/users/TheSharks/events{/privacy}","received_events_url":"https://api.github.com/users/TheSharks/received_events","type":"Organization","site_admin":false},"repo":{"id":126734475,"name":"JagTag-JS","full_name":"TheSharks/JagTag-JS","owner":{"login":"TheSharks","id":22280399,"avatar_url":"https://avatars3.githubusercontent.com/u/22280399?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSharks","html_url":"https://github.com/TheSharks","followers_url":"https://api.github.com/users/TheSharks/followers","following_url":"https://api.github.com/users/TheSharks/following{/other_user}","gists_url":"https://api.github.com/users/TheSharks/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSharks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSharks/subscriptions","organizations_url":"https://api.github.com/users/TheSharks/orgs","repos_url":"https://api.github.com/users/TheSharks/repos","events_url":"https://api.github.com/users/TheSharks/events{/privacy}","received_events_url":"https://api.github.com/users/TheSharks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TheSharks/JagTag-JS","description":"A JavaScript port of the JagTag text parsing language.","fork":false,"url":"https://api.github.com/repos/TheSharks/JagTag-JS","forks_url":"https://api.github.com/repos/TheSharks/JagTag-JS/forks","keys_url":"https://api.github.com/repos/TheSharks/JagTag-JS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheSharks/JagTag-JS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheSharks/JagTag-JS/teams","hooks_url":"https://api.github.com/repos/TheSharks/JagTag-JS/hooks","issue_events_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/events{/number}","events_url":"https://api.github.com/repos/TheSharks/JagTag-JS/events","assignees_url":"https://api.github.com/repos/TheSharks/JagTag-JS/assignees{/user}","branches_url":"https://api.github.com/repos/TheSharks/JagTag-JS/branches{/branch}","tags_url":"https://api.github.com/repos/TheSharks/JagTag-JS/tags","blobs_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheSharks/JagTag-JS/statuses/{sha}","languages_url":"https://api.github.com/repos/TheSharks/JagTag-JS/languages","stargazers_url":"https://api.github.com/repos/TheSharks/JagTag-JS/stargazers","contributors_url":"https://api.github.com/repos/TheSharks/JagTag-JS/contributors","subscribers_url":"https://api.github.com/repos/TheSharks/JagTag-JS/subscribers","subscription_url":"https://api.github.com/repos/TheSharks/JagTag-JS/subscription","commits_url":"https://api.github.com/repos/TheSharks/JagTag-JS/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheSharks/JagTag-JS/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheSharks/JagTag-JS/contents/{+path}","compare_url":"https://api.github.com/repos/TheSharks/JagTag-JS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheSharks/JagTag-JS/merges","archive_url":"https://api.github.com/repos/TheSharks/JagTag-JS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheSharks/JagTag-JS/downloads","issues_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues{/number}","pulls_url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls{/number}","milestones_url":"https://api.github.com/repos/TheSharks/JagTag-JS/milestones{/number}","notifications_url":"https://api.github.com/repos/TheSharks/JagTag-JS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheSharks/JagTag-JS/labels{/name}","releases_url":"https://api.github.com/repos/TheSharks/JagTag-JS/releases{/id}","deployments_url":"https://api.github.com/repos/TheSharks/JagTag-JS/deployments","created_at":"2018-03-25T19:54:37Z","updated_at":"2018-03-30T18:56:42Z","pushed_at":"2018-03-30T19:01:51Z","git_url":"git://github.com/TheSharks/JagTag-JS.git","ssh_url":"git@github.com:TheSharks/JagTag-JS.git","clone_url":"https://github.com/TheSharks/JagTag-JS.git","svn_url":"https://github.com/TheSharks/JagTag-JS","homepage":"","size":74,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"TheSharks:master","ref":"master","sha":"47307d22498eef0fd6b25e55378ef1d6d0992903","user":{"login":"TheSharks","id":22280399,"avatar_url":"https://avatars3.githubusercontent.com/u/22280399?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSharks","html_url":"https://github.com/TheSharks","followers_url":"https://api.github.com/users/TheSharks/followers","following_url":"https://api.github.com/users/TheSharks/following{/other_user}","gists_url":"https://api.github.com/users/TheSharks/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSharks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSharks/subscriptions","organizations_url":"https://api.github.com/users/TheSharks/orgs","repos_url":"https://api.github.com/users/TheSharks/repos","events_url":"https://api.github.com/users/TheSharks/events{/privacy}","received_events_url":"https://api.github.com/users/TheSharks/received_events","type":"Organization","site_admin":false},"repo":{"id":126734475,"name":"JagTag-JS","full_name":"TheSharks/JagTag-JS","owner":{"login":"TheSharks","id":22280399,"avatar_url":"https://avatars3.githubusercontent.com/u/22280399?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSharks","html_url":"https://github.com/TheSharks","followers_url":"https://api.github.com/users/TheSharks/followers","following_url":"https://api.github.com/users/TheSharks/following{/other_user}","gists_url":"https://api.github.com/users/TheSharks/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSharks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSharks/subscriptions","organizations_url":"https://api.github.com/users/TheSharks/orgs","repos_url":"https://api.github.com/users/TheSharks/repos","events_url":"https://api.github.com/users/TheSharks/events{/privacy}","received_events_url":"https://api.github.com/users/TheSharks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TheSharks/JagTag-JS","description":"A JavaScript port of the JagTag text parsing language.","fork":false,"url":"https://api.github.com/repos/TheSharks/JagTag-JS","forks_url":"https://api.github.com/repos/TheSharks/JagTag-JS/forks","keys_url":"https://api.github.com/repos/TheSharks/JagTag-JS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheSharks/JagTag-JS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheSharks/JagTag-JS/teams","hooks_url":"https://api.github.com/repos/TheSharks/JagTag-JS/hooks","issue_events_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/events{/number}","events_url":"https://api.github.com/repos/TheSharks/JagTag-JS/events","assignees_url":"https://api.github.com/repos/TheSharks/JagTag-JS/assignees{/user}","branches_url":"https://api.github.com/repos/TheSharks/JagTag-JS/branches{/branch}","tags_url":"https://api.github.com/repos/TheSharks/JagTag-JS/tags","blobs_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheSharks/JagTag-JS/statuses/{sha}","languages_url":"https://api.github.com/repos/TheSharks/JagTag-JS/languages","stargazers_url":"https://api.github.com/repos/TheSharks/JagTag-JS/stargazers","contributors_url":"https://api.github.com/repos/TheSharks/JagTag-JS/contributors","subscribers_url":"https://api.github.com/repos/TheSharks/JagTag-JS/subscribers","subscription_url":"https://api.github.com/repos/TheSharks/JagTag-JS/subscription","commits_url":"https://api.github.com/repos/TheSharks/JagTag-JS/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheSharks/JagTag-JS/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheSharks/JagTag-JS/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheSharks/JagTag-JS/contents/{+path}","compare_url":"https://api.github.com/repos/TheSharks/JagTag-JS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheSharks/JagTag-JS/merges","archive_url":"https://api.github.com/repos/TheSharks/JagTag-JS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheSharks/JagTag-JS/downloads","issues_url":"https://api.github.com/repos/TheSharks/JagTag-JS/issues{/number}","pulls_url":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls{/number}","milestones_url":"https://api.github.com/repos/TheSharks/JagTag-JS/milestones{/number}","notifications_url":"https://api.github.com/repos/TheSharks/JagTag-JS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheSharks/JagTag-JS/labels{/name}","releases_url":"https://api.github.com/repos/TheSharks/JagTag-JS/releases{/id}","deployments_url":"https://api.github.com/repos/TheSharks/JagTag-JS/deployments","created_at":"2018-03-25T19:54:37Z","updated_at":"2018-03-30T18:56:42Z","pushed_at":"2018-03-30T19:01:51Z","git_url":"git://github.com/TheSharks/JagTag-JS.git","ssh_url":"git@github.com:TheSharks/JagTag-JS.git","clone_url":"https://github.com/TheSharks/JagTag-JS.git","svn_url":"https://github.com/TheSharks/JagTag-JS","homepage":"","size":74,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1"},"html":{"href":"https://github.com/TheSharks/JagTag-JS/pull/1"},"issue":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/1"},"comments":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/TheSharks/JagTag-JS/statuses/2d9e6d0616c7ba27f3f5a177bd89794fe98b4d61"}},"author_association":"OWNER"}}
{"actor":{"display_login":"linuswillner"}}