【发布时间】:2012-03-11 16:40:53
【问题描述】:
我在fullCalendar 中设置了活动开始的日期:月/日/年,例如“02/25/2012”。但是我想要这种格式的日/月/年,我该怎么做?
我试过使用这个表达式$.fullCalendar.formatDate( date,'dd/MM/yyyy');
但是当我以这种格式插入日期时,我的日历会在错误的日期加载事件。 例如,应该在 2 月 29 日开始的事件在 2 月 1 日加载。
为什么?
【问题讨论】:
标签: jquery jquery-plugins fullcalendar