moment-hijri icon indicating copy to clipboard operation
moment-hijri copied to clipboard

A Hijri calendar (Based on Umm al-Qura calculations) plugin for moment.js

Results 44 moment-hijri issues
Sort by recently updated
recently updated
newest added

```js console.log(m._iMonths[m.iMonth()]) ``` is this correct ? it is not showing anything tho(undefined)

Is it work for mobile also ?

I am trying to find number of days in a hijri year, for that I'm looping over days in months and found strange case that for 1 month of the...

Can we set global timezone for moment-hijri much like the moment-timezone allows.

When I try to format a date with year greater than 1500 like this momentHijri(date).format("MMM YYYY"), I get undefined 0NaN and if I format it momentHijri(date).format("iMMMM iYYYY") gives wrong date...

When i trying to convert the moment hijri date to gregorian, i am facing the problem moment("arabic date time", "iM-iD-iYYYY H:mm).format('M-D-YYYY') I got the exception `string.indexOf is not a function`

When parsing the month from iMMM format it uses a one-based index. So, Shw is month 10, but then it converts it to the Gregorian equivalent using zero-based index and...

Hello, Is there any offset issues with the conversion calculations? I've read that converting hijri-gregorian or gregorian-hijri may have one day offset. This situation can happen with this plugin too?

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

I'm using moment to make a calendar and this line is throwing the above error: `ev.date = moment(ev.eventTime, "YYYY-MM-DD");` where eventTime is: `{eventName: 'Interview - Jr. Web Developer', calendar: 'Work',...