{"action":"opened","issue":{"url":"https://api.github.com/repos/BimbaLaszlo/home/issues/1","labels_url":"https://api.github.com/repos/BimbaLaszlo/home/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/BimbaLaszlo/home/issues/1/comments","events_url":"https://api.github.com/repos/BimbaLaszlo/home/issues/1/events","html_url":"https://github.com/BimbaLaszlo/home/issues/1","id":110409636,"number":1,"title":"Do a minimal time tracking script for Git.","user":{"login":"BimbaLaszlo","id":7034200,"avatar_url":"https://avatars.githubusercontent.com/u/7034200?v=3","gravatar_id":"","url":"https://api.github.com/users/BimbaLaszlo","html_url":"https://github.com/BimbaLaszlo","followers_url":"https://api.github.com/users/BimbaLaszlo/followers","following_url":"https://api.github.com/users/BimbaLaszlo/following{/other_user}","gists_url":"https://api.github.com/users/BimbaLaszlo/gists{/gist_id}","starred_url":"https://api.github.com/users/BimbaLaszlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BimbaLaszlo/subscriptions","organizations_url":"https://api.github.com/users/BimbaLaszlo/orgs","repos_url":"https://api.github.com/users/BimbaLaszlo/repos","events_url":"https://api.github.com/users/BimbaLaszlo/events{/privacy}","received_events_url":"https://api.github.com/users/BimbaLaszlo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T09:42:47Z","updated_at":"2015-10-08T09:42:47Z","closed_at":null,"body":"Parsing the results:\r\n\r\n```bash\r\n#!/bin/sh\r\n\r\nEPOCH='jan 1 1970'\r\nsum=0\r\n\r\nfor i in 00:03:34 00:00:35 01:12:34\r\ndo\r\n  sum=\"$(date -u -d \"$EPOCH $i\" +%s) + $sum\"\r\ndone\r\necho $[($sum)/3600]h$[($sum)%3600/60]m\r\n\r\n#=> 1h16m\r\n```\r\n"}}