{"action":"created","comment":{"url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/comments/85293201","pull_request_review_id":6016354,"id":85293201,"diff_hunk":"@@ -56,33 +56,73 @@ public function raw_message()\n     }\n \n     /**\n+     * Present formatted occurred_at date time.\n+     *\n+     * @return string\n+     */\n+    public function occurred_at()\n+    {\n+        return app(DateFactory::class)->make($this->wrappedObject->occurred_at)->toDateTimeString();\n+    }\n+\n+    /**\n      * Present diff for humans date time.\n      *\n      * @return string\n      */\n-    public function created_at_diff()\n+    public function occurred_at_diff()\n     {\n-        return app(DateFactory::class)->make($this->wrappedObject->created_at)->diffForHumans();\n+        return app(DateFactory::class)->make($this->wrappedObject->occurred_at)->diffForHumans();\n     }\n \n     /**\n      * Present formatted date time.\n      *\n      * @return string\n      */\n-    public function created_at_formatted()\n+    public function occurred_at_formatted()\n     {\n-        return ucfirst(app(DateFactory::class)->make($this->wrappedObject->created_at)->format(Config::get('setting.incident_date_format', 'l jS F Y H:i:s')));\n+        return ucfirst(app(DateFactory::class)->make($this->wrappedObject->occurred_at)->format(Config::get('setting.incident_date_format', 'l jS F Y H:i:s')));","path":"app/Presenters/IncidentPresenter.php","position":34,"original_position":34,"commit_id":"f5fd88ea5a4c819d446b41d731086cc963539358","original_commit_id":"f5fd88ea5a4c819d446b41d731086cc963539358","user":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"body":":+1:","created_at":"2016-10-27T08:54:24Z","updated_at":"2016-10-27T08:54:24Z","html_url":"https://github.com/CachetHQ/Cachet/pull/2212#discussion_r85293201","pull_request_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212","_links":{"self":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/comments/85293201"},"html":{"href":"https://github.com/CachetHQ/Cachet/pull/2212#discussion_r85293201"},"pull_request":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212"}}},"pull_request":{"url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212","id":91140842,"html_url":"https://github.com/CachetHQ/Cachet/pull/2212","diff_url":"https://github.com/CachetHQ/Cachet/pull/2212.diff","patch_url":"https://github.com/CachetHQ/Cachet/pull/2212.patch","issue_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/2212","number":2212,"state":"open","locked":false,"title":"Add incident column for when an incident occurred at","user":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"body":"Closes #2208 \r\n\r\n---\r\n\r\nThis does change the API requests, as we're now looking for a field called `occurred_at` instead of `incident_date`, or whatever.","created_at":"2016-10-27T06:35:17Z","updated_at":"2016-10-27T08:54:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de76a0c4afa1c9276d67a70426a72547f1c28470","assignee":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CachetHQ/Cachet/milestones/25","html_url":"https://github.com/CachetHQ/Cachet/milestones/V2.4.0","labels_url":"https://api.github.com/repos/CachetHQ/Cachet/milestones/25/labels","id":1821037,"number":25,"title":"V2.4.0","description":"","creator":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":123,"state":"open","created_at":"2016-06-10T23:06:42Z","updated_at":"2016-10-27T06:35:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212/commits","review_comments_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212/comments","review_comment_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/2212/comments","statuses_url":"https://api.github.com/repos/CachetHQ/Cachet/statuses/f5fd88ea5a4c819d446b41d731086cc963539358","head":{"label":"CachetHQ:reported-at-dat","ref":"reported-at-dat","sha":"f5fd88ea5a4c819d446b41d731086cc963539358","user":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":26730195,"name":"Cachet","full_name":"CachetHQ/Cachet","owner":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CachetHQ/Cachet","description":"An open source status page system for everyone.","fork":false,"url":"https://api.github.com/repos/CachetHQ/Cachet","forks_url":"https://api.github.com/repos/CachetHQ/Cachet/forks","keys_url":"https://api.github.com/repos/CachetHQ/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CachetHQ/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CachetHQ/Cachet/teams","hooks_url":"https://api.github.com/repos/CachetHQ/Cachet/hooks","issue_events_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/CachetHQ/Cachet/events","assignees_url":"https://api.github.com/repos/CachetHQ/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/CachetHQ/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/CachetHQ/Cachet/tags","blobs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CachetHQ/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/CachetHQ/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CachetHQ/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/CachetHQ/Cachet/languages","stargazers_url":"https://api.github.com/repos/CachetHQ/Cachet/stargazers","contributors_url":"https://api.github.com/repos/CachetHQ/Cachet/contributors","subscribers_url":"https://api.github.com/repos/CachetHQ/Cachet/subscribers","subscription_url":"https://api.github.com/repos/CachetHQ/Cachet/subscription","commits_url":"https://api.github.com/repos/CachetHQ/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/CachetHQ/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/CachetHQ/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/comments{/number}","contents_url":"https://api.github.com/repos/CachetHQ/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/CachetHQ/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CachetHQ/Cachet/merges","archive_url":"https://api.github.com/repos/CachetHQ/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CachetHQ/Cachet/downloads","issues_url":"https://api.github.com/repos/CachetHQ/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/CachetHQ/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/CachetHQ/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CachetHQ/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/CachetHQ/Cachet/releases{/id}","deployments_url":"https://api.github.com/repos/CachetHQ/Cachet/deployments","created_at":"2014-11-16T22:23:11Z","updated_at":"2016-10-26T21:25:31Z","pushed_at":"2016-10-27T08:49:46Z","git_url":"git://github.com/CachetHQ/Cachet.git","ssh_url":"git@github.com:CachetHQ/Cachet.git","clone_url":"https://github.com/CachetHQ/Cachet.git","svn_url":"https://github.com/CachetHQ/Cachet","homepage":"https://cachethq.io","size":23889,"stargazers_count":5218,"watchers_count":5218,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":611,"mirror_url":null,"open_issues_count":76,"forks":611,"open_issues":76,"watchers":5218,"default_branch":"2.4"}},"base":{"label":"CachetHQ:2.4","ref":"2.4","sha":"a8307facfa0379089e47b6421468ec991742071c","user":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":26730195,"name":"Cachet","full_name":"CachetHQ/Cachet","owner":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CachetHQ/Cachet","description":"An open source status page system for everyone.","fork":false,"url":"https://api.github.com/repos/CachetHQ/Cachet","forks_url":"https://api.github.com/repos/CachetHQ/Cachet/forks","keys_url":"https://api.github.com/repos/CachetHQ/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CachetHQ/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CachetHQ/Cachet/teams","hooks_url":"https://api.github.com/repos/CachetHQ/Cachet/hooks","issue_events_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/CachetHQ/Cachet/events","assignees_url":"https://api.github.com/repos/CachetHQ/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/CachetHQ/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/CachetHQ/Cachet/tags","blobs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CachetHQ/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/CachetHQ/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CachetHQ/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/CachetHQ/Cachet/languages","stargazers_url":"https://api.github.com/repos/CachetHQ/Cachet/stargazers","contributors_url":"https://api.github.com/repos/CachetHQ/Cachet/contributors","subscribers_url":"https://api.github.com/repos/CachetHQ/Cachet/subscribers","subscription_url":"https://api.github.com/repos/CachetHQ/Cachet/subscription","commits_url":"https://api.github.com/repos/CachetHQ/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/CachetHQ/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/CachetHQ/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/comments{/number}","contents_url":"https://api.github.com/repos/CachetHQ/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/CachetHQ/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CachetHQ/Cachet/merges","archive_url":"https://api.github.com/repos/CachetHQ/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CachetHQ/Cachet/downloads","issues_url":"https://api.github.com/repos/CachetHQ/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/CachetHQ/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/CachetHQ/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CachetHQ/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/CachetHQ/Cachet/releases{/id}","deployments_url":"https://api.github.com/repos/CachetHQ/Cachet/deployments","created_at":"2014-11-16T22:23:11Z","updated_at":"2016-10-26T21:25:31Z","pushed_at":"2016-10-27T08:49:46Z","git_url":"git://github.com/CachetHQ/Cachet.git","ssh_url":"git@github.com:CachetHQ/Cachet.git","clone_url":"https://github.com/CachetHQ/Cachet.git","svn_url":"https://github.com/CachetHQ/Cachet","homepage":"https://cachethq.io","size":23889,"stargazers_count":5218,"watchers_count":5218,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":611,"mirror_url":null,"open_issues_count":76,"forks":611,"open_issues":76,"watchers":5218,"default_branch":"2.4"}},"_links":{"self":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212"},"html":{"href":"https://github.com/CachetHQ/Cachet/pull/2212"},"issue":{"href":"https://api.github.com/repos/CachetHQ/Cachet/issues/2212"},"comments":{"href":"https://api.github.com/repos/CachetHQ/Cachet/issues/2212/comments"},"review_comments":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212/comments"},"review_comment":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2212/commits"},"statuses":{"href":"https://api.github.com/repos/CachetHQ/Cachet/statuses/f5fd88ea5a4c819d446b41d731086cc963539358"}}}}
{"actor":{"display_login":"jbrooksuk"}}