使用jQuery FullCalendar的非格里历日历 [英] Non-Gregorian Calendar with jQuery FullCalendar
问题描述
有谁知道如何在jquery FullCalendar 中添加非公历日历支持?例如Persian Calendar(Jalalai或Shamsi日历)。
我不知道从哪里开始自定义,以及哪些类和脚本受到这种功能的影响。我在js中实现了转换脚本。
我认为没有任何内置支持。我正在寻找解决方案,以便我自己可以自己实施。
Jalali日历(波斯):
谢谢,
有一个jQuery插件可以提供对各种世界日历的支持: http://keith-wood.name/calendars.html
包括波斯语,泰语,伊斯兰教,希伯来语等...
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,
There's a jQuery plugin that provides support for various world calendars:
http://keith-wood.name/calendars.html
Including Persian, Thai, Islamic, Hebrew, etc...
这篇关于使用jQuery FullCalendar的非格里历日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!