当前时间设置之month

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

FullCalendar加载的时候初始化的月份,值为整数类型。注意:值从0开始,0=一月,1=二月,以此类推。

如果month未设置,year设置为当前年份,month为当前月。

没有设置为当前年份,month为一月。

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