{"action":"created","issue":{"url":"https://api.github.com/repos/commerceguys/addressing/issues/30","labels_url":"https://api.github.com/repos/commerceguys/addressing/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/commerceguys/addressing/issues/30/comments","events_url":"https://api.github.com/repos/commerceguys/addressing/issues/30/events","html_url":"https://github.com/commerceguys/addressing/pull/30","id":69304597,"number":30,"title":"Correct source of locale for formatting address vs country name","user":{"login":"karptonite","id":132278,"avatar_url":"https://avatars.githubusercontent.com/u/132278?v=3","gravatar_id":"","url":"https://api.github.com/users/karptonite","html_url":"https://github.com/karptonite","followers_url":"https://api.github.com/users/karptonite/followers","following_url":"https://api.github.com/users/karptonite/following{/other_user}","gists_url":"https://api.github.com/users/karptonite/gists{/gist_id}","starred_url":"https://api.github.com/users/karptonite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karptonite/subscriptions","organizations_url":"https://api.github.com/users/karptonite/orgs","repos_url":"https://api.github.com/users/karptonite/repos","events_url":"https://api.github.com/users/karptonite/events{/privacy}","received_events_url":"https://api.github.com/users/karptonite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-18T12:20:40Z","updated_at":"2015-04-26T22:04:13Z","closed_at":"2015-04-26T22:04:01Z","pull_request":{"url":"https://api.github.com/repos/commerceguys/addressing/pulls/30","html_url":"https://github.com/commerceguys/addressing/pull/30","diff_url":"https://github.com/commerceguys/addressing/pull/30.diff","patch_url":"https://github.com/commerceguys/addressing/pull/30.patch"},"body":"The Postal label formatter was getting the locale for displaying the address from the locale of the formatter, rather than the locale of the address.\r\n\r\nIt seems that it should get the locale for the format from the address, so that the address is correctly formatted as originally entered, while the locale of the formatter should match the origin country, and thus determine the language of the country on the label, as shown in the added test.\r\n\r\nThis commit resolves #29."},"comment":{"url":"https://api.github.com/repos/commerceguys/addressing/issues/comments/96439471","html_url":"https://github.com/commerceguys/addressing/pull/30#issuecomment-96439471","issue_url":"https://api.github.com/repos/commerceguys/addressing/issues/30","id":96439471,"user":{"login":"bojanz","id":330162,"avatar_url":"https://avatars.githubusercontent.com/u/330162?v=3","gravatar_id":"","url":"https://api.github.com/users/bojanz","html_url":"https://github.com/bojanz","followers_url":"https://api.github.com/users/bojanz/followers","following_url":"https://api.github.com/users/bojanz/following{/other_user}","gists_url":"https://api.github.com/users/bojanz/gists{/gist_id}","starred_url":"https://api.github.com/users/bojanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojanz/subscriptions","organizations_url":"https://api.github.com/users/bojanz/orgs","repos_url":"https://api.github.com/users/bojanz/repos","events_url":"https://api.github.com/users/bojanz/events{/privacy}","received_events_url":"https://api.github.com/users/bojanz/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T22:04:13Z","updated_at":"2015-04-26T22:04:13Z","body":"I'll just fix the extra space in a followup commit. Thanks, this is great!"}}