{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/3685","repository_url":"https://api.github.com/repos/moment/moment","labels_url":"https://api.github.com/repos/moment/moment/issues/3685/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/3685/comments","events_url":"https://api.github.com/repos/moment/moment/issues/3685/events","html_url":"https://github.com/moment/moment/issues/3685","id":197715588,"number":3685,"title":"convert Arabic numbers to Latin numbers, how can I do that?","user":{"login":"IbraheemAlSaady","id":14288490,"avatar_url":"https://avatars.githubusercontent.com/u/14288490?v=3","gravatar_id":"","url":"https://api.github.com/users/IbraheemAlSaady","html_url":"https://github.com/IbraheemAlSaady","followers_url":"https://api.github.com/users/IbraheemAlSaady/followers","following_url":"https://api.github.com/users/IbraheemAlSaady/following{/other_user}","gists_url":"https://api.github.com/users/IbraheemAlSaady/gists{/gist_id}","starred_url":"https://api.github.com/users/IbraheemAlSaady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IbraheemAlSaady/subscriptions","organizations_url":"https://api.github.com/users/IbraheemAlSaady/orgs","repos_url":"https://api.github.com/users/IbraheemAlSaady/repos","events_url":"https://api.github.com/users/IbraheemAlSaady/events{/privacy}","received_events_url":"https://api.github.com/users/IbraheemAlSaady/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-27T15:08:30Z","updated_at":"2017-01-12T06:18:55Z","closed_at":"2017-01-12T06:18:55Z","body":"I used to convert Arabic numbers to Latin numbers by doing the following \r\n\r\n```typescript\r\n      moment.updateLocale('ar', <MomentLanguage>{\r\n        preparse: (str) => {\r\n            return str.replace(/\\u200f/g, '');\r\n        },\r\n        postformat: (str) => {\r\n            return str;\r\n        }\r\n      });\r\n```\r\n\r\nbut now, MomentLanguage is not a module in moment, what should I do?\r\nPS: I'm using version 2.15.2"},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/272085770","html_url":"https://github.com/moment/moment/issues/3685#issuecomment-272085770","issue_url":"https://api.github.com/repos/moment/moment/issues/3685","id":272085770,"user":{"login":"maggiepint","id":6054610,"avatar_url":"https://avatars.githubusercontent.com/u/6054610?v=3","gravatar_id":"","url":"https://api.github.com/users/maggiepint","html_url":"https://github.com/maggiepint","followers_url":"https://api.github.com/users/maggiepint/followers","following_url":"https://api.github.com/users/maggiepint/following{/other_user}","gists_url":"https://api.github.com/users/maggiepint/gists{/gist_id}","starred_url":"https://api.github.com/users/maggiepint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggiepint/subscriptions","organizations_url":"https://api.github.com/users/maggiepint/orgs","repos_url":"https://api.github.com/users/maggiepint/repos","events_url":"https://api.github.com/users/maggiepint/events{/privacy}","received_events_url":"https://api.github.com/users/maggiepint/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T06:18:55Z","updated_at":"2017-01-12T06:18:55Z","body":"Closing since we haven't heard back since Lucas' comment. Reopen if you still need help."}}
{"actor":{"display_login":"maggiepint"}}