globalizejs / globalize

A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data
https://globalizejs.com
MIT License
4.8k stars 603 forks source link

Support for non-gregorian calendars #711

Closed yeganesalami closed 7 years ago

yeganesalami commented 7 years ago

hi. is still Globalize.js 1.x not supporting jalali calendar? thnks for your attention

rxaviers commented 7 years ago

It's not supported, but PRs are welcome. Closing in favor of #320. Please, just let me know if you have any other questions.

yeganesalami commented 7 years ago

i have a calendar that is in gregorian type. i use devxtreme component and its not supporting jalali or islamic calendar. and now i am confuse that how can i use persian calendar with globalize.js and cldr.js in devextreme component thanks for your helping

rxaviers commented 7 years ago

Your question wasn't very clear to me, but I can give you some information: Globalize 1.x doesn't support non-gregorian calendars. This was a regression compared to Globalize 0.x.

yeganesalami commented 7 years ago

could you please show me an example that use globalization 0.x and a calendar in islamic or persian format? thank you

rxaviers commented 7 years ago

0.x documentation can be found here, but note it's deprecated. For additional questions, please use StackOverflow. Thanks