Closed MiladHossein closed 6 years ago
You will have to extend the standard JQuery datepicker:
https://github.com/frappe/frappe/blob/develop/frappe/public/js/frappe/form/control.js#L492
+1
Hello @MiladHossein and @mhbu50 I add this issue in bounty source , hope you can contribute to add this calendar to ERPNEXT .
bounty source link is : https://www.bountysource.com/issues/22105311-solar-hijri-calendar Regards Meisam
Any update on this? I think ERPNext should add the support to choose between different calendar types such as Solar Hijri (Jalali), Chinese, etc as the base calendar for the whole system. This includes a date picker for all the forms and the correct date format in all the reports, PDFs and etc. @rmehta
The simplest method that I can come up with, is to use Gregorian calendar in DB and have functions to convert TO and FROM other calendar types in both Python and Javascript to show it on the forms and reports. (we probably need to have a special date picker based on the calendar system) This way not only it becomes modular, but also, the user can change the calendar type at any moment without affecting the data itself.
I found a great library to use Jalali dates in Python: https://github.com/slashmili/python-jalali
It's one of important feature erpnext need it to use globally . hope some one can add this feature . any one can help please bounty in bountysource to add jalai dates in erpnext . https://www.bountysource.com/issues/22105311-solar-hijri-calendar
There exists issue #8874 for tracking this, hence closing this one.
+1
+١
hi please let me know how i can add persian calendar to this application. This link is template of js persian calendar. http://farhadi.ir/projects/jalalijscalendar/