{"action":"opened","issue":{"url":"https://api.github.com/repos/hatchteam/protractor-trx-reporter/issues/3","labels_url":"https://api.github.com/repos/hatchteam/protractor-trx-reporter/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hatchteam/protractor-trx-reporter/issues/3/comments","events_url":"https://api.github.com/repos/hatchteam/protractor-trx-reporter/issues/3/events","html_url":"https://github.com/hatchteam/protractor-trx-reporter/issues/3","id":70102830,"number":3,"title":"Wrong duration calculation in index.js ","user":{"login":"seven-ply","id":3637313,"avatar_url":"https://avatars.githubusercontent.com/u/3637313?v=3","gravatar_id":"","url":"https://api.github.com/users/seven-ply","html_url":"https://github.com/seven-ply","followers_url":"https://api.github.com/users/seven-ply/followers","following_url":"https://api.github.com/users/seven-ply/following{/other_user}","gists_url":"https://api.github.com/users/seven-ply/gists{/gist_id}","starred_url":"https://api.github.com/users/seven-ply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seven-ply/subscriptions","organizations_url":"https://api.github.com/users/seven-ply/orgs","repos_url":"https://api.github.com/users/seven-ply/repos","events_url":"https://api.github.com/users/seven-ply/events{/privacy}","received_events_url":"https://api.github.com/users/seven-ply/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-22T11:35:23Z","updated_at":"2015-04-22T11:35:23Z","closed_at":null,"body":"I just had a problem importing a trx-report, which was generated with the help of the protractor-trx-reporter. I run into some time parsing issues when I imported my report. \r\nIn the index.js file you are currently calculating the duration like that: \r\n\r\n.att('duration', \"0:0:\" + (spec.finished_at - spec.startTime) / 1000)\r\n\r\nif your test takes more less then 60s you do not have any issues. However if you have time consuming test cases you wil run into time parsing issues (i.e.: 0:0:65)"}}