Search code examples
jquerylocalizationfullcalendarpersian-calendarjalali-calendar

Non-Gregorian Calendar with jQuery FullCalendar


Does anyone know how can one add a non-gregorian calendar support to jquery FullCalendar? For example Persian Calendar (Jalalai or Shamsi calendar).

I don't know where to start the customization and what exact classes and scripts are affected by such a feature. I have implemented conversion script in js.

I think that there isn't any built-in support. I'm looking for solution so that I myself can implement it myself.

Jalali calendar (Persian):

  • 12 month
  • 6 first months are 31 days
  • 5 next months are 30 days
  • The last month is 29 or 30 days based on being leap year.
  • The year starts on first day of spring.
  • Today date is 23/05/1389 == 16/08/2010

Thank you,


Solution

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

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

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