{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/weechat-slacklog/issues/7","labels_url":"https://api.github.com/repos/thoughtbot/weechat-slacklog/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/weechat-slacklog/issues/7/comments","events_url":"https://api.github.com/repos/thoughtbot/weechat-slacklog/issues/7/events","html_url":"https://github.com/thoughtbot/weechat-slacklog/issues/7","id":36306083,"number":7,"title":"Correct times","user":{"login":"keith","id":283886,"avatar_url":"https://avatars.githubusercontent.com/u/283886?v=3","gravatar_id":"","url":"https://api.github.com/users/keith","html_url":"https://github.com/keith","followers_url":"https://api.github.com/users/keith/followers","following_url":"https://api.github.com/users/keith/following{/other_user}","gists_url":"https://api.github.com/users/keith/gists{/gist_id}","starred_url":"https://api.github.com/users/keith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keith/subscriptions","organizations_url":"https://api.github.com/users/keith/orgs","repos_url":"https://api.github.com/users/keith/repos","events_url":"https://api.github.com/users/keith/events{/privacy}","received_events_url":"https://api.github.com/users/keith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-06-23T16:13:44Z","updated_at":"2015-05-20T01:15:04Z","closed_at":null,"body":"I've noticed that the when backlog comes in it uses the current time, not the time the message was actually posted. I'm not sure there's anyway around this though?"},"comment":{"url":"https://api.github.com/repos/thoughtbot/weechat-slacklog/issues/comments/103711241","html_url":"https://github.com/thoughtbot/weechat-slacklog/issues/7#issuecomment-103711241","issue_url":"https://api.github.com/repos/thoughtbot/weechat-slacklog/issues/7","id":103711241,"user":{"login":"rawdigits","id":1096409,"avatar_url":"https://avatars.githubusercontent.com/u/1096409?v=3","gravatar_id":"","url":"https://api.github.com/users/rawdigits","html_url":"https://github.com/rawdigits","followers_url":"https://api.github.com/users/rawdigits/followers","following_url":"https://api.github.com/users/rawdigits/following{/other_user}","gists_url":"https://api.github.com/users/rawdigits/gists{/gist_id}","starred_url":"https://api.github.com/users/rawdigits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawdigits/subscriptions","organizations_url":"https://api.github.com/users/rawdigits/orgs","repos_url":"https://api.github.com/users/rawdigits/repos","events_url":"https://api.github.com/users/rawdigits/events{/privacy}","received_events_url":"https://api.github.com/users/rawdigits/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T01:15:04Z","updated_at":"2015-05-20T01:15:04Z","body":"prnt_date_tags does what you expect, but you need to give it an integer posix timestamp. slack gives you a float with microseconds. wee-slack use this to print the backlog: https://github.com/rawdigits/wee-slack/blob/master/wee_slack.py#L597\r\n\r\n```\r\nweechat.prnt_date_tags(channel_buffer, time_int, tags, data)\r\n```"}}