使用jQuery FullCalendar的非格里历日历 [英] Non-Gregorian Calendar with jQuery FullCalendar

查看:104
本文介绍了使用jQuery FullCalendar的非格里历日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何在jquery FullCalendar 中添加非公历日历支持?例如Persian Calendar(Jalalai或Shamsi日历)。



我不知道从哪里开始自定义,以及哪些类和脚本受到这种功能的影响。我在js中实现了转换脚本。



我认为没有任何内置支持。我正在寻找解决方案,以便我自己可以自己实施。



Jalali日历(波斯):


  • 12个月

  • 6个第一个月是31天

  • 下个月是30天

  • 上一个月的闰年时间为29或30天。

  • 该年从春季的第一天开始。

  • 今天的日期是23/05/1389 == 16/08/2010


谢谢,

解决方案

有一个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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆