{"action":"closed","issue":{"url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/83","repository_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit","labels_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/83/comments","events_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/issues/83/events","html_url":"https://github.com/ebu/ebu-tt-live-toolkit/issues/83","id":166837187,"number":83,"title":"Milli/Microseconds are not parsed when converting from times in documents to timedelta","user":{"login":"gilbrechbuhler","id":8790148,"avatar_url":"https://avatars.githubusercontent.com/u/8790148?v=3","gravatar_id":"","url":"https://api.github.com/users/gilbrechbuhler","html_url":"https://github.com/gilbrechbuhler","followers_url":"https://api.github.com/users/gilbrechbuhler/followers","following_url":"https://api.github.com/users/gilbrechbuhler/following{/other_user}","gists_url":"https://api.github.com/users/gilbrechbuhler/gists{/gist_id}","starred_url":"https://api.github.com/users/gilbrechbuhler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilbrechbuhler/subscriptions","organizations_url":"https://api.github.com/users/gilbrechbuhler/orgs","repos_url":"https://api.github.com/users/gilbrechbuhler/repos","events_url":"https://api.github.com/users/gilbrechbuhler/events{/privacy}","received_events_url":"https://api.github.com/users/gilbrechbuhler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/milestones/2","html_url":"https://github.com/ebu/ebu-tt-live-toolkit/milestones/Release%202","labels_url":"https://api.github.com/repos/ebu/ebu-tt-live-toolkit/milestones/2/labels","id":1864277,"number":2,"title":"Release 2","description":"","creator":{"login":"frans-ebu","id":4577613,"avatar_url":"https://avatars.githubusercontent.com/u/4577613?v=3","gravatar_id":"","url":"https://api.github.com/users/frans-ebu","html_url":"https://github.com/frans-ebu","followers_url":"https://api.github.com/users/frans-ebu/followers","following_url":"https://api.github.com/users/frans-ebu/following{/other_user}","gists_url":"https://api.github.com/users/frans-ebu/gists{/gist_id}","starred_url":"https://api.github.com/users/frans-ebu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frans-ebu/subscriptions","organizations_url":"https://api.github.com/users/frans-ebu/orgs","repos_url":"https://api.github.com/users/frans-ebu/repos","events_url":"https://api.github.com/users/frans-ebu/events{/privacy}","received_events_url":"https://api.github.com/users/frans-ebu/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":7,"state":"open","created_at":"2016-07-05T05:00:55Z","updated_at":"2016-07-25T14:56:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-07-21T14:44:37Z","updated_at":"2016-07-25T14:56:09Z","closed_at":"2016-07-25T14:56:09Z","body":"Discovered while writing tests for #69.\r\nFile containing the code : [https://github.com/ebu/ebu-tt-live-toolkit/blob/master/ebu_tt_live/bindings/_ebuttdt.py]\r\n\r\n```\r\n_groups_regex = re.compile('([0-9][0-9]+):([0-5][0-9]):([0-5][0-9]|60)(?:\\.[0-9]+)?')\r\n\r\n    @classmethod\r\n    def as_timedelta(cls, instance):\r\n        \"\"\"\r\n        Using regex parse value and create timedelta\r\n        :param instance:\r\n        :return:\r\n        \"\"\"\r\n        hours, minutes, seconds = cls._groups_regex.match(instance).groups()\r\n        return timedelta(hours=hours, minutes=minutes, seconds=seconds)\r\n```\r\nAs you can see we never use the milli/microseconds."}}
{"actor":{"display_login":"gilbrechbuhler"}}