Issue 1621: How to convert fullcalendar from Gregorian to Jalali calendar
Status:  Duplicate
Merged:  issue 1546
Owner: ----
Closed:  Aug 2013
Reported by mk136...@gmail.com, Nov 25, 2012
i try to add support jalali calendar for fullcalendar. i find a good gregorian to jalai (jalali to gregorian) convertotr and add a convertor to fullcalendar. then create a Object base on the dateFormatters and this is the changes : code on jsfiddle

but my problem is :

    the header of days display with undefined text?
    i want to add jalali day numbers beside or under or upper the gregorian day numbers.
    i want to display first day of month in jalali default for showing in first row of calender the default is first day of month of gregorian. thanks and im sorry for my bad english language.


Aug 18, 2013
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 1546
Oct 17, 2014
#2 ehsan.da...@gmail.com
Hi,
I added Jalali calendar with few changes in main code for fullcalendar version 2.1.1.
this is my github fork address:
https://github.com/ehsandanesh/fullcalendar
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.