{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/34","id":65180438,"html_url":"https://github.com/RhubarbPHP/Module.Stem/pull/34","diff_url":"https://github.com/RhubarbPHP/Module.Stem/pull/34.diff","patch_url":"https://github.com/RhubarbPHP/Module.Stem/pull/34.patch","issue_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/34","number":34,"state":"open","locked":false,"title":"Timezone magic","user":{"login":"NiallSmyth","id":209378,"avatar_url":"https://avatars.githubusercontent.com/u/209378?v=3","gravatar_id":"","url":"https://api.github.com/users/NiallSmyth","html_url":"https://github.com/NiallSmyth","followers_url":"https://api.github.com/users/NiallSmyth/followers","following_url":"https://api.github.com/users/NiallSmyth/following{/other_user}","gists_url":"https://api.github.com/users/NiallSmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/NiallSmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiallSmyth/subscriptions","organizations_url":"https://api.github.com/users/NiallSmyth/orgs","repos_url":"https://api.github.com/users/NiallSmyth/repos","events_url":"https://api.github.com/users/NiallSmyth/events{/privacy}","received_events_url":"https://api.github.com/users/NiallSmyth/received_events","type":"User","site_admin":false},"body":"A silver bullet for timezone handling. Hopefully.\r\n\r\nPaired with https://github.com/RhubarbPHP/Rhubarb/compare/1.0.x...feature/TimeZoneMagic\r\n\r\nMySql DateTimes are stored without a time zone, the idea being that all DateTimes are stored in the same timezone as determined by the server's timezone setting. It probably makes most sense to keep this as UTC. \r\n\r\nThese changes deal with converting any times to be stored from their current timezone into the MySql server's timezone, and on retrieval, converting them back into a project default timezone (set from the PHP default timezone, but overridable in project settings).","created_at":"2016-04-04T17:14:32Z","updated_at":"2016-04-04T17:14:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/34/commits","review_comments_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/34/comments","review_comment_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/34/comments","statuses_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/statuses/c3abca9196fc335c6006246f38bb63c5ba7be8f1","head":{"label":"RhubarbPHP:feature/TimeZoneMagic","ref":"feature/TimeZoneMagic","sha":"c3abca9196fc335c6006246f38bb63c5ba7be8f1","user":{"login":"RhubarbPHP","id":10641153,"avatar_url":"https://avatars.githubusercontent.com/u/10641153?v=3","gravatar_id":"","url":"https://api.github.com/users/RhubarbPHP","html_url":"https://github.com/RhubarbPHP","followers_url":"https://api.github.com/users/RhubarbPHP/followers","following_url":"https://api.github.com/users/RhubarbPHP/following{/other_user}","gists_url":"https://api.github.com/users/RhubarbPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/RhubarbPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RhubarbPHP/subscriptions","organizations_url":"https://api.github.com/users/RhubarbPHP/orgs","repos_url":"https://api.github.com/users/RhubarbPHP/repos","events_url":"https://api.github.com/users/RhubarbPHP/events{/privacy}","received_events_url":"https://api.github.com/users/RhubarbPHP/received_events","type":"Organization","site_admin":false},"repo":{"id":30208556,"name":"Module.Stem","full_name":"RhubarbPHP/Module.Stem","owner":{"login":"RhubarbPHP","id":10641153,"avatar_url":"https://avatars.githubusercontent.com/u/10641153?v=3","gravatar_id":"","url":"https://api.github.com/users/RhubarbPHP","html_url":"https://github.com/RhubarbPHP","followers_url":"https://api.github.com/users/RhubarbPHP/followers","following_url":"https://api.github.com/users/RhubarbPHP/following{/other_user}","gists_url":"https://api.github.com/users/RhubarbPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/RhubarbPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RhubarbPHP/subscriptions","organizations_url":"https://api.github.com/users/RhubarbPHP/orgs","repos_url":"https://api.github.com/users/RhubarbPHP/repos","events_url":"https://api.github.com/users/RhubarbPHP/events{/privacy}","received_events_url":"https://api.github.com/users/RhubarbPHP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RhubarbPHP/Module.Stem","description":"A data modelling module for Rhubarb","fork":false,"url":"https://api.github.com/repos/RhubarbPHP/Module.Stem","forks_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/forks","keys_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/teams","hooks_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/hooks","issue_events_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/events{/number}","events_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/events","assignees_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/assignees{/user}","branches_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/branches{/branch}","tags_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/tags","blobs_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/refs{/sha}","trees_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/statuses/{sha}","languages_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/languages","stargazers_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/stargazers","contributors_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/contributors","subscribers_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/subscribers","subscription_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/subscription","commits_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/commits{/sha}","git_commits_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/commits{/sha}","comments_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/comments{/number}","issue_comment_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/comments{/number}","contents_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/contents/{+path}","compare_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/merges","archive_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/downloads","issues_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues{/number}","pulls_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls{/number}","milestones_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/milestones{/number}","notifications_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/labels{/name}","releases_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/releases{/id}","deployments_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/deployments","created_at":"2015-02-02T21:04:39Z","updated_at":"2016-01-11T12:09:17Z","pushed_at":"2016-04-04T17:12:51Z","git_url":"git://github.com/RhubarbPHP/Module.Stem.git","ssh_url":"git@github.com:RhubarbPHP/Module.Stem.git","clone_url":"https://github.com/RhubarbPHP/Module.Stem.git","svn_url":"https://github.com/RhubarbPHP/Module.Stem","homepage":null,"size":643,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"develop"}},"base":{"label":"RhubarbPHP:1.0.x","ref":"1.0.x","sha":"25330e56b7607fbc58a7cf7eb3e689613f4a0569","user":{"login":"RhubarbPHP","id":10641153,"avatar_url":"https://avatars.githubusercontent.com/u/10641153?v=3","gravatar_id":"","url":"https://api.github.com/users/RhubarbPHP","html_url":"https://github.com/RhubarbPHP","followers_url":"https://api.github.com/users/RhubarbPHP/followers","following_url":"https://api.github.com/users/RhubarbPHP/following{/other_user}","gists_url":"https://api.github.com/users/RhubarbPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/RhubarbPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RhubarbPHP/subscriptions","organizations_url":"https://api.github.com/users/RhubarbPHP/orgs","repos_url":"https://api.github.com/users/RhubarbPHP/repos","events_url":"https://api.github.com/users/RhubarbPHP/events{/privacy}","received_events_url":"https://api.github.com/users/RhubarbPHP/received_events","type":"Organization","site_admin":false},"repo":{"id":30208556,"name":"Module.Stem","full_name":"RhubarbPHP/Module.Stem","owner":{"login":"RhubarbPHP","id":10641153,"avatar_url":"https://avatars.githubusercontent.com/u/10641153?v=3","gravatar_id":"","url":"https://api.github.com/users/RhubarbPHP","html_url":"https://github.com/RhubarbPHP","followers_url":"https://api.github.com/users/RhubarbPHP/followers","following_url":"https://api.github.com/users/RhubarbPHP/following{/other_user}","gists_url":"https://api.github.com/users/RhubarbPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/RhubarbPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RhubarbPHP/subscriptions","organizations_url":"https://api.github.com/users/RhubarbPHP/orgs","repos_url":"https://api.github.com/users/RhubarbPHP/repos","events_url":"https://api.github.com/users/RhubarbPHP/events{/privacy}","received_events_url":"https://api.github.com/users/RhubarbPHP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RhubarbPHP/Module.Stem","description":"A data modelling module for Rhubarb","fork":false,"url":"https://api.github.com/repos/RhubarbPHP/Module.Stem","forks_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/forks","keys_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/teams","hooks_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/hooks","issue_events_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/events{/number}","events_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/events","assignees_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/assignees{/user}","branches_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/branches{/branch}","tags_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/tags","blobs_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/refs{/sha}","trees_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/statuses/{sha}","languages_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/languages","stargazers_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/stargazers","contributors_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/contributors","subscribers_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/subscribers","subscription_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/subscription","commits_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/commits{/sha}","git_commits_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/git/commits{/sha}","comments_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/comments{/number}","issue_comment_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/comments{/number}","contents_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/contents/{+path}","compare_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/merges","archive_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/downloads","issues_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues{/number}","pulls_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls{/number}","milestones_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/milestones{/number}","notifications_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/labels{/name}","releases_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/releases{/id}","deployments_url":"https://api.github.com/repos/RhubarbPHP/Module.Stem/deployments","created_at":"2015-02-02T21:04:39Z","updated_at":"2016-01-11T12:09:17Z","pushed_at":"2016-04-04T17:12:51Z","git_url":"git://github.com/RhubarbPHP/Module.Stem.git","ssh_url":"git@github.com:RhubarbPHP/Module.Stem.git","clone_url":"https://github.com/RhubarbPHP/Module.Stem.git","svn_url":"https://github.com/RhubarbPHP/Module.Stem","homepage":null,"size":643,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/34"},"html":{"href":"https://github.com/RhubarbPHP/Module.Stem/pull/34"},"issue":{"href":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/34"},"comments":{"href":"https://api.github.com/repos/RhubarbPHP/Module.Stem/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RhubarbPHP/Module.Stem/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/RhubarbPHP/Module.Stem/statuses/c3abca9196fc335c6006246f38bb63c5ba7be8f1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":28,"deletions":16,"changed_files":4}}