Non-Gregorian Calendar with jQuery FullCalendar

有些话、适合烂在心里 提交于 2019-11-29 08:20:44

There's a jQuery plugin that provides support for various world calendars:

http://keith-wood.name/calendars.html

Including Persian, Thai, Islamic, Hebrew, etc...

This fork is fullcalendar version 2.1.1 with support of Persian Jalali calendar.

Everything is like fullcalendar mainline but:

For persian jalali calendar to be enabled you have to just use "lang:'persianJalali'" in your fullcalendar object definition. It is added by me and it is not in mainline of fullcalendar development yet. and it has no interfere with any other fullcalendar configuration object.

Becareful of using "lang:fa" because it does not convert fullcalendar to Jalali format, it just translates default fullcalendar to persian language as it does before. I used "viewRender" and "eventAfterAllRender" fullcalendar object elements for this conversion so PLEASE BE CAREFUL FOR OVERRIDING THEM. I even used this pwt-datpicker jquery library for my date conversions so it is my fork new dependancy so add it before using this fork.

Hi everybody I added Jalaali calendar to version 2.6.0 and solved previous issues in this update you can find it from here: https://github.com/ehsandanesh/fullcalendar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!