当前时间设置之gotoDate

优质
小牛编辑
126浏览
2023-12-01

日程表跳转到任意日期:

.fullCalendar('gotoDate', year [, month, [ date ]])

需要注意,月是从0开始的。此方法也可以使用一个参数,一个Date对象(版本大于1.3.2)

官方英文文档:http://arshaw.com/fullcalendar/docs/current_date/gotoDate/