{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/treeherder/issues/1619","repository_url":"https://api.github.com/repos/mozilla/treeherder","labels_url":"https://api.github.com/repos/mozilla/treeherder/issues/1619/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/treeherder/issues/1619/comments","events_url":"https://api.github.com/repos/mozilla/treeherder/issues/1619/events","html_url":"https://github.com/mozilla/treeherder/pull/1619","id":162572562,"number":1619,"title":"Bug 1281412 - Fix timezones with pulse ingestion","user":{"login":"camd","id":419924,"avatar_url":"https://avatars.githubusercontent.com/u/419924?v=3","gravatar_id":"","url":"https://api.github.com/users/camd","html_url":"https://github.com/camd","followers_url":"https://api.github.com/users/camd/followers","following_url":"https://api.github.com/users/camd/following{/other_user}","gists_url":"https://api.github.com/users/camd/gists{/gist_id}","starred_url":"https://api.github.com/users/camd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camd/subscriptions","organizations_url":"https://api.github.com/users/camd/orgs","repos_url":"https://api.github.com/users/camd/repos","events_url":"https://api.github.com/users/camd/events{/privacy}","received_events_url":"https://api.github.com/users/camd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-27T23:42:20Z","updated_at":"2016-06-28T11:49:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/treeherder/pulls/1619","html_url":"https://github.com/mozilla/treeherder/pull/1619","diff_url":"https://github.com/mozilla/treeherder/pull/1619.diff","patch_url":"https://github.com/mozilla/treeherder/pull/1619.patch"},"body":"The pulse ingestion was throwing away the UTC timezone that came from Task Cluster and applying the local timezone.  That's how ``time.mktime`` works.  Now we parse the time, get the time tuple in UTC and create the timextamp with ``calendar.timegm`` which expects UTC times.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/mozilla/treeherder/1619)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/mozilla/treeherder/issues/comments/229026585","html_url":"https://github.com/mozilla/treeherder/pull/1619#issuecomment-229026585","issue_url":"https://api.github.com/repos/mozilla/treeherder/issues/1619","id":229026585,"user":{"login":"edmorley","id":501702,"avatar_url":"https://avatars.githubusercontent.com/u/501702?v=3","gravatar_id":"","url":"https://api.github.com/users/edmorley","html_url":"https://github.com/edmorley","followers_url":"https://api.github.com/users/edmorley/followers","following_url":"https://api.github.com/users/edmorley/following{/other_user}","gists_url":"https://api.github.com/users/edmorley/gists{/gist_id}","starred_url":"https://api.github.com/users/edmorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmorley/subscriptions","organizations_url":"https://api.github.com/users/edmorley/orgs","repos_url":"https://api.github.com/users/edmorley/repos","events_url":"https://api.github.com/users/edmorley/events{/privacy}","received_events_url":"https://api.github.com/users/edmorley/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T11:49:15Z","updated_at":"2016-06-28T11:49:15Z","body":"I think a unix timestamp would be more appropriate for these fields. Is there a reason why we can't use that instead?"}}
{"actor":{"display_login":"edmorley"}}