Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format to iD/iM/iYYYY - gives arabic text not English #47

Open
ghost opened this issue Feb 18, 2019 · 2 comments
Open

Format to iD/iM/iYYYY - gives arabic text not English #47

ghost opened this issue Feb 18, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 18, 2019

Hi I tried to format from gregorian to Hijri date but gives me arabic text.
moment(value, "DD/MM/YYYY").format("iD/iM/iYYYY");

@mdentremont
Copy link

Even crazier is that I'm seeing moment(moment().format('iD/iM/iYYYY'), 'iD/iM/iYYYY').isValid() return false

@talal424
Copy link

change the locale or create a new one and override postformat()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants