{"action":"created","issue":{"url":"https://api.github.com/repos/codequote/submit/issues/5","repository_url":"https://api.github.com/repos/codequote/submit","labels_url":"https://api.github.com/repos/codequote/submit/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/codequote/submit/issues/5/comments","events_url":"https://api.github.com/repos/codequote/submit/issues/5/events","html_url":"https://github.com/codequote/submit/issues/5","id":173668562,"number":5,"title":"Converts a time HH:MM:SS into seconds","user":{"login":"florianpreusner","id":728558,"avatar_url":"https://avatars.githubusercontent.com/u/728558?v=3","gravatar_id":"","url":"https://api.github.com/users/florianpreusner","html_url":"https://github.com/florianpreusner","followers_url":"https://api.github.com/users/florianpreusner/followers","following_url":"https://api.github.com/users/florianpreusner/following{/other_user}","gists_url":"https://api.github.com/users/florianpreusner/gists{/gist_id}","starred_url":"https://api.github.com/users/florianpreusner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianpreusner/subscriptions","organizations_url":"https://api.github.com/users/florianpreusner/orgs","repos_url":"https://api.github.com/users/florianpreusner/repos","events_url":"https://api.github.com/users/florianpreusner/events{/privacy}","received_events_url":"https://api.github.com/users/florianpreusner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codequote/submit/labels/accepted","name":"accepted","color":"fbca04"},{"url":"https://api.github.com/repos/codequote/submit/labels/deployed","name":"deployed","color":"0e8a16"},{"url":"https://api.github.com/repos/codequote/submit/labels/language:%20php","name":"language: php","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-28T21:22:08Z","updated_at":"2016-08-28T21:23:44Z","closed_at":null,"body":"| Q               | A\r\n| --------------- | ---\r\n| Language        | php\r\n| Description     | Converts a time HH:MM:SS in seconds\r\n| Search Keywords | time, convert, transform, second, seconds, explode\r\n\r\n\r\n```php\r\n/**\r\n * Converts a time HH:MM:SS into seconds\r\n *\r\n * @param  string $time\r\n * @return integer\r\n */\r\nfunction convertGermanTimeToSeconds($time) {\r\n\r\n  list($hours, $minutes) = explode(':', $time);\r\n  return ((int) $hours * 60 * 60 + (int) $minutes * 60);\r\n}\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/codequote/submit/issues/comments/243000362","html_url":"https://github.com/codequote/submit/issues/5#issuecomment-243000362","issue_url":"https://api.github.com/repos/codequote/submit/issues/5","id":243000362,"user":{"login":"qwot","id":20564986,"avatar_url":"https://avatars.githubusercontent.com/u/20564986?v=3","gravatar_id":"","url":"https://api.github.com/users/qwot","html_url":"https://github.com/qwot","followers_url":"https://api.github.com/users/qwot/followers","following_url":"https://api.github.com/users/qwot/following{/other_user}","gists_url":"https://api.github.com/users/qwot/gists{/gist_id}","starred_url":"https://api.github.com/users/qwot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwot/subscriptions","organizations_url":"https://api.github.com/users/qwot/orgs","repos_url":"https://api.github.com/users/qwot/repos","events_url":"https://api.github.com/users/qwot/events{/privacy}","received_events_url":"https://api.github.com/users/qwot/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T21:23:44Z","updated_at":"2016-08-28T21:23:44Z","body":"Hey @florianpreusner, I got some good news for you!\nYour quote has been deployed on codequote.de :tada:\n\n:arrow_forward: http://www.codequote.de/php/converts-a-time-hhmmss-into-seconds"}}
{"actor":{"display_login":"qwot"}}