Open pkhodaveissi opened 6 years ago
Hi, i don't know Jalali calendar so maybe i'm missing some specificity about it but from what i could see the "easiest" way would be to implement jalali with date-fns
(the package we use for dates).
If date-fns supports jalali then okami should be able to use it and format it like any other date system.
You should probably go on date-fns github and make an issue to know if that's possible and how you can help maybe. (if you do an issue, please link it to that one so we can follow more easily and maybe help :))
An other solution would to fork this repo and replace date-fns with moment so you can add moment-jalali library.
This is the submitted issue
Hi and thanks for this great repo
what's the best way to start making other types of calendars like Jalali using your tool?
here's a Jalali Moment Library: https://www.npmjs.com/package/moment-jalaali