| Issue 1621: | How to convert fullcalendar from Gregorian to Jalali calendar | |
| 3 people starred this issue and may be notified of changes. | Back to list |
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.
Oct 17, 2014
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. |
|
| ► Sign in to add a comment |
Mergedinto: 1546