{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/6938","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/6938/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/6938/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/6938/events","html_url":"https://github.com/cakephp/cakephp/pull/6938","id":92860616,"number":6938,"title":"Adding Time::remainingTime()","user":{"login":"burzum","id":162789,"avatar_url":"https://avatars.githubusercontent.com/u/162789?v=3","gravatar_id":"","url":"https://api.github.com/users/burzum","html_url":"https://github.com/burzum","followers_url":"https://api.github.com/users/burzum/followers","following_url":"https://api.github.com/users/burzum/following{/other_user}","gists_url":"https://api.github.com/users/burzum/gists{/gist_id}","starred_url":"https://api.github.com/users/burzum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burzum/subscriptions","organizations_url":"https://api.github.com/users/burzum/orgs","repos_url":"https://api.github.com/users/burzum/repos","events_url":"https://api.github.com/users/burzum/events{/privacy}","received_events_url":"https://api.github.com/users/burzum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Enhancement","name":"Enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/cakephp/cakephp/labels/i18n","name":"i18n","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/31","html_url":"https://github.com/cakephp/cakephp/milestones/3.1.0","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/31/labels","id":919718,"number":31,"title":"3.1.0","description":"Backwards compatible with 3.0.x.\r\n\r\nSee the [Roadmap](https://github.com/cakephp/cakephp/wiki/3.1-Roadmap) for more information.","creator":{"login":"lorenzo","id":37621,"avatar_url":"https://avatars.githubusercontent.com/u/37621?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzo","html_url":"https://github.com/lorenzo","followers_url":"https://api.github.com/users/lorenzo/followers","following_url":"https://api.github.com/users/lorenzo/following{/other_user}","gists_url":"https://api.github.com/users/lorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzo/subscriptions","organizations_url":"https://api.github.com/users/lorenzo/orgs","repos_url":"https://api.github.com/users/lorenzo/repos","events_url":"https://api.github.com/users/lorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzo/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":102,"state":"open","created_at":"2015-01-02T15:38:07Z","updated_at":"2015-07-16T11:20:21Z","due_on":"2015-07-20T04:00:00Z","closed_at":null},"comments":9,"created_at":"2015-07-03T11:57:25Z","updated_at":"2015-07-17T01:22:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/6938","html_url":"https://github.com/cakephp/cakephp/pull/6938","diff_url":"https://github.com/cakephp/cakephp/pull/6938.diff","patch_url":"https://github.com/cakephp/cakephp/pull/6938.patch"},"body":"Adding a method to get the remaining time from a given datetime.\r\n\r\nI'm not sure about the output / return value, any suggestions are welcome. I also considered adding a 2nd, optional arg that can be the date the first arg is compared to."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/122143204","html_url":"https://github.com/cakephp/cakephp/pull/6938#issuecomment-122143204","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/6938","id":122143204,"user":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T01:22:58Z","updated_at":"2015-07-17T01:22:58Z","body":"@burzum Yes, I think a rename removes the need to handle solutions and lets the method handle values in the past and future."}}