year_month

定义视图中月份块标题中显示的月份名称。

dateDate需要格式化的日期

Example

const formatMonth = scheduler.date.date_to_str("%F");
scheduler.templates.year_month = function(date){
    return formatMonth(date);
};

Applicable views:年视图
Details

该模板需要启用year_view 插件。

See also
返回顶部