{"action":"created","issue":{"url":"https://api.github.com/repos/jonhocking/PrettyTimestamp/issues/5","labels_url":"https://api.github.com/repos/jonhocking/PrettyTimestamp/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jonhocking/PrettyTimestamp/issues/5/comments","events_url":"https://api.github.com/repos/jonhocking/PrettyTimestamp/issues/5/events","html_url":"https://github.com/jonhocking/PrettyTimestamp/pull/5","id":67406398,"number":5,"title":"added format argument to specify alternative output format","user":{"login":"samdods","id":3475973,"avatar_url":"https://avatars.githubusercontent.com/u/3475973?v=3","gravatar_id":"","url":"https://api.github.com/users/samdods","html_url":"https://github.com/samdods","followers_url":"https://api.github.com/users/samdods/followers","following_url":"https://api.github.com/users/samdods/following{/other_user}","gists_url":"https://api.github.com/users/samdods/gists{/gist_id}","starred_url":"https://api.github.com/users/samdods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdods/subscriptions","organizations_url":"https://api.github.com/users/samdods/orgs","repos_url":"https://api.github.com/users/samdods/repos","events_url":"https://api.github.com/users/samdods/events{/privacy}","received_events_url":"https://api.github.com/users/samdods/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-09T17:05:20Z","updated_at":"2015-04-09T17:16:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jonhocking/PrettyTimestamp/pulls/5","html_url":"https://github.com/jonhocking/PrettyTimestamp/pull/5","diff_url":"https://github.com/jonhocking/PrettyTimestamp/pull/5.diff","patch_url":"https://github.com/jonhocking/PrettyTimestamp/pull/5.patch"},"body":"The reason I've added this is because the default format dictates that there should be spaces between the components, i.e. \"4 weeks ago\". But since I'm using the localization to replace \"weeks\" with \"w\", I want it to appear as \"4w ago\", for which I need to change the format.\r\n\r\nThis would also be useful in locales that might print it differently, for example, \"depuis 4 semaines\" (http://bit.ly/1GtxGwX)"},"comment":{"url":"https://api.github.com/repos/jonhocking/PrettyTimestamp/issues/comments/91296930","html_url":"https://github.com/jonhocking/PrettyTimestamp/pull/5#issuecomment-91296930","issue_url":"https://api.github.com/repos/jonhocking/PrettyTimestamp/issues/5","id":91296930,"user":{"login":"jonhocking","id":216516,"avatar_url":"https://avatars.githubusercontent.com/u/216516?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhocking","html_url":"https://github.com/jonhocking","followers_url":"https://api.github.com/users/jonhocking/followers","following_url":"https://api.github.com/users/jonhocking/following{/other_user}","gists_url":"https://api.github.com/users/jonhocking/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhocking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhocking/subscriptions","organizations_url":"https://api.github.com/users/jonhocking/orgs","repos_url":"https://api.github.com/users/jonhocking/repos","events_url":"https://api.github.com/users/jonhocking/events{/privacy}","received_events_url":"https://api.github.com/users/jonhocking/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T17:16:14Z","updated_at":"2015-04-09T17:16:14Z","body":"awesome idea"}}