{"action":"opened","number":64,"pull_request":{"url":"https://api.github.com/repos/nilportugues/php-json-api/pulls/64","id":75651771,"html_url":"https://github.com/nilportugues/php-json-api/pull/64","diff_url":"https://github.com/nilportugues/php-json-api/pull/64.diff","patch_url":"https://github.com/nilportugues/php-json-api/pull/64.patch","issue_url":"https://api.github.com/repos/nilportugues/php-json-api/issues/64","number":64,"state":"open","locked":false,"title":"DateTime object tests","user":{"login":"franbenz","id":6500418,"avatar_url":"https://avatars.githubusercontent.com/u/6500418?v=3","gravatar_id":"","url":"https://api.github.com/users/franbenz","html_url":"https://github.com/franbenz","followers_url":"https://api.github.com/users/franbenz/followers","following_url":"https://api.github.com/users/franbenz/following{/other_user}","gists_url":"https://api.github.com/users/franbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/franbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franbenz/subscriptions","organizations_url":"https://api.github.com/users/franbenz/orgs","repos_url":"https://api.github.com/users/franbenz/repos","events_url":"https://api.github.com/users/franbenz/events{/privacy}","received_events_url":"https://api.github.com/users/franbenz/received_events","type":"User","site_admin":false},"body":"Here is what I mentioned on [this issue](https://github.com/nilportugues/symfony-jsonapi/issues/21#issuecomment-229204260) from symfony-jsonapi.\r\nI'm using DateTime objects like this because Doctrine results include date fields in this way.","created_at":"2016-06-29T13:52:39Z","updated_at":"2016-06-29T13:52:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nilportugues/php-json-api/pulls/64/commits","review_comments_url":"https://api.github.com/repos/nilportugues/php-json-api/pulls/64/comments","review_comment_url":"https://api.github.com/repos/nilportugues/php-json-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nilportugues/php-json-api/issues/64/comments","statuses_url":"https://api.github.com/repos/nilportugues/php-json-api/statuses/7c5768d2c40c66ee971f272e2da42bc4c9226103","head":{"label":"franbenz:datetime-test","ref":"datetime-test","sha":"7c5768d2c40c66ee971f272e2da42bc4c9226103","user":{"login":"franbenz","id":6500418,"avatar_url":"https://avatars.githubusercontent.com/u/6500418?v=3","gravatar_id":"","url":"https://api.github.com/users/franbenz","html_url":"https://github.com/franbenz","followers_url":"https://api.github.com/users/franbenz/followers","following_url":"https://api.github.com/users/franbenz/following{/other_user}","gists_url":"https://api.github.com/users/franbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/franbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franbenz/subscriptions","organizations_url":"https://api.github.com/users/franbenz/orgs","repos_url":"https://api.github.com/users/franbenz/repos","events_url":"https://api.github.com/users/franbenz/events{/privacy}","received_events_url":"https://api.github.com/users/franbenz/received_events","type":"User","site_admin":false},"repo":{"id":62227518,"name":"php-json-api","full_name":"franbenz/php-json-api","owner":{"login":"franbenz","id":6500418,"avatar_url":"https://avatars.githubusercontent.com/u/6500418?v=3","gravatar_id":"","url":"https://api.github.com/users/franbenz","html_url":"https://github.com/franbenz","followers_url":"https://api.github.com/users/franbenz/followers","following_url":"https://api.github.com/users/franbenz/following{/other_user}","gists_url":"https://api.github.com/users/franbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/franbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franbenz/subscriptions","organizations_url":"https://api.github.com/users/franbenz/orgs","repos_url":"https://api.github.com/users/franbenz/repos","events_url":"https://api.github.com/users/franbenz/events{/privacy}","received_events_url":"https://api.github.com/users/franbenz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/franbenz/php-json-api","description":"JSON API transformer outputting valid (PSR-7) API Responses.","fork":true,"url":"https://api.github.com/repos/franbenz/php-json-api","forks_url":"https://api.github.com/repos/franbenz/php-json-api/forks","keys_url":"https://api.github.com/repos/franbenz/php-json-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/franbenz/php-json-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/franbenz/php-json-api/teams","hooks_url":"https://api.github.com/repos/franbenz/php-json-api/hooks","issue_events_url":"https://api.github.com/repos/franbenz/php-json-api/issues/events{/number}","events_url":"https://api.github.com/repos/franbenz/php-json-api/events","assignees_url":"https://api.github.com/repos/franbenz/php-json-api/assignees{/user}","branches_url":"https://api.github.com/repos/franbenz/php-json-api/branches{/branch}","tags_url":"https://api.github.com/repos/franbenz/php-json-api/tags","blobs_url":"https://api.github.com/repos/franbenz/php-json-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/franbenz/php-json-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/franbenz/php-json-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/franbenz/php-json-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/franbenz/php-json-api/statuses/{sha}","languages_url":"https://api.github.com/repos/franbenz/php-json-api/languages","stargazers_url":"https://api.github.com/repos/franbenz/php-json-api/stargazers","contributors_url":"https://api.github.com/repos/franbenz/php-json-api/contributors","subscribers_url":"https://api.github.com/repos/franbenz/php-json-api/subscribers","subscription_url":"https://api.github.com/repos/franbenz/php-json-api/subscription","commits_url":"https://api.github.com/repos/franbenz/php-json-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/franbenz/php-json-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/franbenz/php-json-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/franbenz/php-json-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/franbenz/php-json-api/contents/{+path}","compare_url":"https://api.github.com/repos/franbenz/php-json-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/franbenz/php-json-api/merges","archive_url":"https://api.github.com/repos/franbenz/php-json-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/franbenz/php-json-api/downloads","issues_url":"https://api.github.com/repos/franbenz/php-json-api/issues{/number}","pulls_url":"https://api.github.com/repos/franbenz/php-json-api/pulls{/number}","milestones_url":"https://api.github.com/repos/franbenz/php-json-api/milestones{/number}","notifications_url":"https://api.github.com/repos/franbenz/php-json-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/franbenz/php-json-api/labels{/name}","releases_url":"https://api.github.com/repos/franbenz/php-json-api/releases{/id}","deployments_url":"https://api.github.com/repos/franbenz/php-json-api/deployments","created_at":"2016-06-29T13:21:56Z","updated_at":"2016-06-29T13:21:57Z","pushed_at":"2016-06-29T13:48:15Z","git_url":"git://github.com/franbenz/php-json-api.git","ssh_url":"git@github.com:franbenz/php-json-api.git","clone_url":"https://github.com/franbenz/php-json-api.git","svn_url":"https://github.com/franbenz/php-json-api","homepage":"http://nilportugues.com","size":550,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":0,"default_branch":"master"}},"base":{"label":"nilportugues:master","ref":"master","sha":"58bad68ecc83285b8e0e0c1ad368011813736978","user":{"login":"nilportugues","id":550948,"avatar_url":"https://avatars.githubusercontent.com/u/550948?v=3","gravatar_id":"","url":"https://api.github.com/users/nilportugues","html_url":"https://github.com/nilportugues","followers_url":"https://api.github.com/users/nilportugues/followers","following_url":"https://api.github.com/users/nilportugues/following{/other_user}","gists_url":"https://api.github.com/users/nilportugues/gists{/gist_id}","starred_url":"https://api.github.com/users/nilportugues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilportugues/subscriptions","organizations_url":"https://api.github.com/users/nilportugues/orgs","repos_url":"https://api.github.com/users/nilportugues/repos","events_url":"https://api.github.com/users/nilportugues/events{/privacy}","received_events_url":"https://api.github.com/users/nilportugues/received_events","type":"User","site_admin":false},"repo":{"id":38543572,"name":"php-json-api","full_name":"nilportugues/php-json-api","owner":{"login":"nilportugues","id":550948,"avatar_url":"https://avatars.githubusercontent.com/u/550948?v=3","gravatar_id":"","url":"https://api.github.com/users/nilportugues","html_url":"https://github.com/nilportugues","followers_url":"https://api.github.com/users/nilportugues/followers","following_url":"https://api.github.com/users/nilportugues/following{/other_user}","gists_url":"https://api.github.com/users/nilportugues/gists{/gist_id}","starred_url":"https://api.github.com/users/nilportugues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilportugues/subscriptions","organizations_url":"https://api.github.com/users/nilportugues/orgs","repos_url":"https://api.github.com/users/nilportugues/repos","events_url":"https://api.github.com/users/nilportugues/events{/privacy}","received_events_url":"https://api.github.com/users/nilportugues/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nilportugues/php-json-api","description":"JSON API transformer outputting valid (PSR-7) API Responses.","fork":false,"url":"https://api.github.com/repos/nilportugues/php-json-api","forks_url":"https://api.github.com/repos/nilportugues/php-json-api/forks","keys_url":"https://api.github.com/repos/nilportugues/php-json-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nilportugues/php-json-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nilportugues/php-json-api/teams","hooks_url":"https://api.github.com/repos/nilportugues/php-json-api/hooks","issue_events_url":"https://api.github.com/repos/nilportugues/php-json-api/issues/events{/number}","events_url":"https://api.github.com/repos/nilportugues/php-json-api/events","assignees_url":"https://api.github.com/repos/nilportugues/php-json-api/assignees{/user}","branches_url":"https://api.github.com/repos/nilportugues/php-json-api/branches{/branch}","tags_url":"https://api.github.com/repos/nilportugues/php-json-api/tags","blobs_url":"https://api.github.com/repos/nilportugues/php-json-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nilportugues/php-json-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nilportugues/php-json-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/nilportugues/php-json-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nilportugues/php-json-api/statuses/{sha}","languages_url":"https://api.github.com/repos/nilportugues/php-json-api/languages","stargazers_url":"https://api.github.com/repos/nilportugues/php-json-api/stargazers","contributors_url":"https://api.github.com/repos/nilportugues/php-json-api/contributors","subscribers_url":"https://api.github.com/repos/nilportugues/php-json-api/subscribers","subscription_url":"https://api.github.com/repos/nilportugues/php-json-api/subscription","commits_url":"https://api.github.com/repos/nilportugues/php-json-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/nilportugues/php-json-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/nilportugues/php-json-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/nilportugues/php-json-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/nilportugues/php-json-api/contents/{+path}","compare_url":"https://api.github.com/repos/nilportugues/php-json-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nilportugues/php-json-api/merges","archive_url":"https://api.github.com/repos/nilportugues/php-json-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nilportugues/php-json-api/downloads","issues_url":"https://api.github.com/repos/nilportugues/php-json-api/issues{/number}","pulls_url":"https://api.github.com/repos/nilportugues/php-json-api/pulls{/number}","milestones_url":"https://api.github.com/repos/nilportugues/php-json-api/milestones{/number}","notifications_url":"https://api.github.com/repos/nilportugues/php-json-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nilportugues/php-json-api/labels{/name}","releases_url":"https://api.github.com/repos/nilportugues/php-json-api/releases{/id}","deployments_url":"https://api.github.com/repos/nilportugues/php-json-api/deployments","created_at":"2015-07-04T18:26:15Z","updated_at":"2016-06-28T19:52:54Z","pushed_at":"2016-06-29T13:52:40Z","git_url":"git://github.com/nilportugues/php-json-api.git","ssh_url":"git@github.com:nilportugues/php-json-api.git","clone_url":"https://github.com/nilportugues/php-json-api.git","svn_url":"https://github.com/nilportugues/php-json-api","homepage":"http://nilportugues.com","size":550,"stargazers_count":32,"watchers_count":32,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":6,"forks":19,"open_issues":6,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nilportugues/php-json-api/pulls/64"},"html":{"href":"https://github.com/nilportugues/php-json-api/pull/64"},"issue":{"href":"https://api.github.com/repos/nilportugues/php-json-api/issues/64"},"comments":{"href":"https://api.github.com/repos/nilportugues/php-json-api/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/nilportugues/php-json-api/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/nilportugues/php-json-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nilportugues/php-json-api/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/nilportugues/php-json-api/statuses/7c5768d2c40c66ee971f272e2da42bc4c9226103"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"franbenz"}}