Open aboalwi opened 7 years ago
Hi @aboalwi, to support Hijri Calendar there's needed that Moment.js support that kind of calendar, and it natively doesn't do. You can use Islamic Calendar methods using the plugin moment-hijri, but as you can see, they have different names and formats:
moment.iYear()
instead of moment.year()
"iYYYY/iM/iD"
instead of "YYYY/M/D"
That being said, theoretically if it exists a moment.js plugin, we can add support for any kind of calendar system (Gregorian, Hijri, Jalaali, ...), adding a new system="Gregorian"
attribute. Unfortunately, actually I don't have the time to code a solution, but if you want to propose a PR I will be glad to help you! :)
would be great