{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/paked/messenger/pulls/12","id":87768719,"html_url":"https://github.com/paked/messenger/pull/12","diff_url":"https://github.com/paked/messenger/pull/12.diff","patch_url":"https://github.com/paked/messenger/pull/12.patch","issue_url":"https://api.github.com/repos/paked/messenger/issues/12","number":12,"state":"closed","locked":false,"title":"Fixin timestamp handling as Facebook sends back milliseconds timestamps","user":{"login":"Depado","id":694365,"avatar_url":"https://avatars.githubusercontent.com/u/694365?v=3","gravatar_id":"","url":"https://api.github.com/users/Depado","html_url":"https://github.com/Depado","followers_url":"https://api.github.com/users/Depado/followers","following_url":"https://api.github.com/users/Depado/following{/other_user}","gists_url":"https://api.github.com/users/Depado/gists{/gist_id}","starred_url":"https://api.github.com/users/Depado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Depado/subscriptions","organizations_url":"https://api.github.com/users/Depado/orgs","repos_url":"https://api.github.com/users/Depado/repos","events_url":"https://api.github.com/users/Depado/events{/privacy}","received_events_url":"https://api.github.com/users/Depado/received_events","type":"User","site_admin":false},"body":"I don't know if that changed recently but I had some weird behavior with dates. Here is a fix. \r\nLooks like Facebook sends back milliseconds timestamps. \r\nFeel to merge this or replace the `int64(time.Microsecond)` into a const value of `1000`.\r\n\r\n\r\nAnd thanks for the great work you provided :D\r\n\r\nAlso, thanks to `jmoiron` on IRC for the help :)","created_at":"2016-10-03T18:43:22Z","updated_at":"2016-10-04T01:44:18Z","closed_at":"2016-10-04T01:44:18Z","merged_at":"2016-10-04T01:44:18Z","merge_commit_sha":"79275a89fdaf2ba5ab219ef7ecbd76f17e054d2a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/paked/messenger/pulls/12/commits","review_comments_url":"https://api.github.com/repos/paked/messenger/pulls/12/comments","review_comment_url":"https://api.github.com/repos/paked/messenger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paked/messenger/issues/12/comments","statuses_url":"https://api.github.com/repos/paked/messenger/statuses/b1bb8d19dbbeb504f1f69cc6e0c8d26b8f671706","head":{"label":"Depado:fix_time","ref":"fix_time","sha":"b1bb8d19dbbeb504f1f69cc6e0c8d26b8f671706","user":{"login":"Depado","id":694365,"avatar_url":"https://avatars.githubusercontent.com/u/694365?v=3","gravatar_id":"","url":"https://api.github.com/users/Depado","html_url":"https://github.com/Depado","followers_url":"https://api.github.com/users/Depado/followers","following_url":"https://api.github.com/users/Depado/following{/other_user}","gists_url":"https://api.github.com/users/Depado/gists{/gist_id}","starred_url":"https://api.github.com/users/Depado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Depado/subscriptions","organizations_url":"https://api.github.com/users/Depado/orgs","repos_url":"https://api.github.com/users/Depado/repos","events_url":"https://api.github.com/users/Depado/events{/privacy}","received_events_url":"https://api.github.com/users/Depado/received_events","type":"User","site_admin":false},"repo":{"id":69898953,"name":"messenger","full_name":"Depado/messenger","owner":{"login":"Depado","id":694365,"avatar_url":"https://avatars.githubusercontent.com/u/694365?v=3","gravatar_id":"","url":"https://api.github.com/users/Depado","html_url":"https://github.com/Depado","followers_url":"https://api.github.com/users/Depado/followers","following_url":"https://api.github.com/users/Depado/following{/other_user}","gists_url":"https://api.github.com/users/Depado/gists{/gist_id}","starred_url":"https://api.github.com/users/Depado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Depado/subscriptions","organizations_url":"https://api.github.com/users/Depado/orgs","repos_url":"https://api.github.com/users/Depado/repos","events_url":"https://api.github.com/users/Depado/events{/privacy}","received_events_url":"https://api.github.com/users/Depado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Depado/messenger","description":"Package messenger is used for making bots for use with Facebook messenger","fork":true,"url":"https://api.github.com/repos/Depado/messenger","forks_url":"https://api.github.com/repos/Depado/messenger/forks","keys_url":"https://api.github.com/repos/Depado/messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Depado/messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Depado/messenger/teams","hooks_url":"https://api.github.com/repos/Depado/messenger/hooks","issue_events_url":"https://api.github.com/repos/Depado/messenger/issues/events{/number}","events_url":"https://api.github.com/repos/Depado/messenger/events","assignees_url":"https://api.github.com/repos/Depado/messenger/assignees{/user}","branches_url":"https://api.github.com/repos/Depado/messenger/branches{/branch}","tags_url":"https://api.github.com/repos/Depado/messenger/tags","blobs_url":"https://api.github.com/repos/Depado/messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Depado/messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Depado/messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/Depado/messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Depado/messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/Depado/messenger/languages","stargazers_url":"https://api.github.com/repos/Depado/messenger/stargazers","contributors_url":"https://api.github.com/repos/Depado/messenger/contributors","subscribers_url":"https://api.github.com/repos/Depado/messenger/subscribers","subscription_url":"https://api.github.com/repos/Depado/messenger/subscription","commits_url":"https://api.github.com/repos/Depado/messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/Depado/messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/Depado/messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/Depado/messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/Depado/messenger/contents/{+path}","compare_url":"https://api.github.com/repos/Depado/messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Depado/messenger/merges","archive_url":"https://api.github.com/repos/Depado/messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Depado/messenger/downloads","issues_url":"https://api.github.com/repos/Depado/messenger/issues{/number}","pulls_url":"https://api.github.com/repos/Depado/messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/Depado/messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/Depado/messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Depado/messenger/labels{/name}","releases_url":"https://api.github.com/repos/Depado/messenger/releases{/id}","deployments_url":"https://api.github.com/repos/Depado/messenger/deployments","created_at":"2016-10-03T18:32:27Z","updated_at":"2016-10-03T18:32:28Z","pushed_at":"2016-10-03T18:41:39Z","git_url":"git://github.com/Depado/messenger.git","ssh_url":"git@github.com:Depado/messenger.git","clone_url":"https://github.com/Depado/messenger.git","svn_url":"https://github.com/Depado/messenger","homepage":"","size":34,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"paked:master","ref":"master","sha":"387e9a1083bbb93db92bb373792e566ed449f48c","user":{"login":"paked","id":8407370,"avatar_url":"https://avatars.githubusercontent.com/u/8407370?v=3","gravatar_id":"","url":"https://api.github.com/users/paked","html_url":"https://github.com/paked","followers_url":"https://api.github.com/users/paked/followers","following_url":"https://api.github.com/users/paked/following{/other_user}","gists_url":"https://api.github.com/users/paked/gists{/gist_id}","starred_url":"https://api.github.com/users/paked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paked/subscriptions","organizations_url":"https://api.github.com/users/paked/orgs","repos_url":"https://api.github.com/users/paked/repos","events_url":"https://api.github.com/users/paked/events{/privacy}","received_events_url":"https://api.github.com/users/paked/received_events","type":"User","site_admin":false},"repo":{"id":56108181,"name":"messenger","full_name":"paked/messenger","owner":{"login":"paked","id":8407370,"avatar_url":"https://avatars.githubusercontent.com/u/8407370?v=3","gravatar_id":"","url":"https://api.github.com/users/paked","html_url":"https://github.com/paked","followers_url":"https://api.github.com/users/paked/followers","following_url":"https://api.github.com/users/paked/following{/other_user}","gists_url":"https://api.github.com/users/paked/gists{/gist_id}","starred_url":"https://api.github.com/users/paked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paked/subscriptions","organizations_url":"https://api.github.com/users/paked/orgs","repos_url":"https://api.github.com/users/paked/repos","events_url":"https://api.github.com/users/paked/events{/privacy}","received_events_url":"https://api.github.com/users/paked/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paked/messenger","description":"Package messenger is used for making bots for use with Facebook messenger","fork":false,"url":"https://api.github.com/repos/paked/messenger","forks_url":"https://api.github.com/repos/paked/messenger/forks","keys_url":"https://api.github.com/repos/paked/messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paked/messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paked/messenger/teams","hooks_url":"https://api.github.com/repos/paked/messenger/hooks","issue_events_url":"https://api.github.com/repos/paked/messenger/issues/events{/number}","events_url":"https://api.github.com/repos/paked/messenger/events","assignees_url":"https://api.github.com/repos/paked/messenger/assignees{/user}","branches_url":"https://api.github.com/repos/paked/messenger/branches{/branch}","tags_url":"https://api.github.com/repos/paked/messenger/tags","blobs_url":"https://api.github.com/repos/paked/messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paked/messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paked/messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/paked/messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paked/messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/paked/messenger/languages","stargazers_url":"https://api.github.com/repos/paked/messenger/stargazers","contributors_url":"https://api.github.com/repos/paked/messenger/contributors","subscribers_url":"https://api.github.com/repos/paked/messenger/subscribers","subscription_url":"https://api.github.com/repos/paked/messenger/subscription","commits_url":"https://api.github.com/repos/paked/messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/paked/messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/paked/messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/paked/messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/paked/messenger/contents/{+path}","compare_url":"https://api.github.com/repos/paked/messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paked/messenger/merges","archive_url":"https://api.github.com/repos/paked/messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paked/messenger/downloads","issues_url":"https://api.github.com/repos/paked/messenger/issues{/number}","pulls_url":"https://api.github.com/repos/paked/messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/paked/messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/paked/messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paked/messenger/labels{/name}","releases_url":"https://api.github.com/repos/paked/messenger/releases{/id}","deployments_url":"https://api.github.com/repos/paked/messenger/deployments","created_at":"2016-04-13T00:35:24Z","updated_at":"2016-09-20T14:30:20Z","pushed_at":"2016-10-04T01:44:18Z","git_url":"git://github.com/paked/messenger.git","ssh_url":"git@github.com:paked/messenger.git","clone_url":"https://github.com/paked/messenger.git","svn_url":"https://github.com/paked/messenger","homepage":"","size":38,"stargazers_count":150,"watchers_count":150,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":1,"forks":21,"open_issues":1,"watchers":150,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paked/messenger/pulls/12"},"html":{"href":"https://github.com/paked/messenger/pull/12"},"issue":{"href":"https://api.github.com/repos/paked/messenger/issues/12"},"comments":{"href":"https://api.github.com/repos/paked/messenger/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/paked/messenger/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/paked/messenger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paked/messenger/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/paked/messenger/statuses/b1bb8d19dbbeb504f1f69cc6e0c8d26b8f671706"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"paked","id":8407370,"avatar_url":"https://avatars.githubusercontent.com/u/8407370?v=3","gravatar_id":"","url":"https://api.github.com/users/paked","html_url":"https://github.com/paked","followers_url":"https://api.github.com/users/paked/followers","following_url":"https://api.github.com/users/paked/following{/other_user}","gists_url":"https://api.github.com/users/paked/gists{/gist_id}","starred_url":"https://api.github.com/users/paked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paked/subscriptions","organizations_url":"https://api.github.com/users/paked/orgs","repos_url":"https://api.github.com/users/paked/repos","events_url":"https://api.github.com/users/paked/events{/privacy}","received_events_url":"https://api.github.com/users/paked/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"paked"}}