{"action":"created","issue":{"url":"https://api.github.com/repos/prolificinteractive/PIDatePicker/issues/34","labels_url":"https://api.github.com/repos/prolificinteractive/PIDatePicker/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/prolificinteractive/PIDatePicker/issues/34/comments","events_url":"https://api.github.com/repos/prolificinteractive/PIDatePicker/issues/34/events","html_url":"https://github.com/prolificinteractive/PIDatePicker/pull/34","id":117379552,"number":34,"title":"Removes punctations from componentOrdering string","user":{"login":"schjonhaug","id":84225,"avatar_url":"https://avatars.githubusercontent.com/u/84225?v=3","gravatar_id":"","url":"https://api.github.com/users/schjonhaug","html_url":"https://github.com/schjonhaug","followers_url":"https://api.github.com/users/schjonhaug/followers","following_url":"https://api.github.com/users/schjonhaug/following{/other_user}","gists_url":"https://api.github.com/users/schjonhaug/gists{/gist_id}","starred_url":"https://api.github.com/users/schjonhaug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schjonhaug/subscriptions","organizations_url":"https://api.github.com/users/schjonhaug/orgs","repos_url":"https://api.github.com/users/schjonhaug/repos","events_url":"https://api.github.com/users/schjonhaug/events{/privacy}","received_events_url":"https://api.github.com/users/schjonhaug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-17T15:32:19Z","updated_at":"2015-11-19T08:31:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prolificinteractive/PIDatePicker/pulls/34","html_url":"https://github.com/prolificinteractive/PIDatePicker/pull/34","diff_url":"https://github.com/prolificinteractive/PIDatePicker/pull/34.diff","patch_url":"https://github.com/prolificinteractive/PIDatePicker/pull/34.patch"},"body":"The current code doesn't work with locales set to nb_NO. Since remainingValue will pick the first character from componentOrdering (which, after removing the first and second component, is \". MMMM\", the enum lookup fails. By also trimming punctuations from componentOrdering, the correct remainingValue can be extracted before the lookup."},"comment":{"url":"https://api.github.com/repos/prolificinteractive/PIDatePicker/issues/comments/157988408","html_url":"https://github.com/prolificinteractive/PIDatePicker/pull/34#issuecomment-157988408","issue_url":"https://api.github.com/repos/prolificinteractive/PIDatePicker/issues/34","id":157988408,"user":{"login":"schjonhaug","id":84225,"avatar_url":"https://avatars.githubusercontent.com/u/84225?v=3","gravatar_id":"","url":"https://api.github.com/users/schjonhaug","html_url":"https://github.com/schjonhaug","followers_url":"https://api.github.com/users/schjonhaug/followers","following_url":"https://api.github.com/users/schjonhaug/following{/other_user}","gists_url":"https://api.github.com/users/schjonhaug/gists{/gist_id}","starred_url":"https://api.github.com/users/schjonhaug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schjonhaug/subscriptions","organizations_url":"https://api.github.com/users/schjonhaug/orgs","repos_url":"https://api.github.com/users/schjonhaug/repos","events_url":"https://api.github.com/users/schjonhaug/events{/privacy}","received_events_url":"https://api.github.com/users/schjonhaug/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T08:31:57Z","updated_at":"2015-11-19T08:31:57Z","body":"Done."}}