xsoh/moment-hijri

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

Opened this issue · 2 comments

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

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

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