带有 jQ​​uery FullCalendar 的非公历 [英] Non-Gregorian Calendar with jQuery FullCalendar

查看:13
本文介绍了带有 jQ​​uery FullCalendar 的非公历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何向 jquery FullCalendar 添加非公历日历支持?例如波斯历(Jalalai 或 Shamsi 历).

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

我不知道从哪里开始自定义,也不知道哪些类和脚本会受到此类功能的影响.我已经在js中实现了转换脚本.

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.

贾拉利历(波斯语):

  • 12 个月
  • 前 6 个月是 31 天
  • 接下来的 5 个月是 30 天
  • 最后一个月是 29 或 30 天,基于闰年.
  • 一年从春天的第一天开始.
  • 今天是 23/05/1389 == 16/08/2010

谢谢,

推荐答案

有一个jQuery插件支持各种世界日历:

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

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

包括波斯语、泰语、伊斯兰教、希伯来语等...

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

这篇关于带有 jQ​​uery FullCalendar 的非公历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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