Skip to main content

month_day

Description​

Specifies the format of the day in a cell

month_day: (date: Date) => string

Parameters​

  • date - (required) Date - the date which needs formatting

Returns​

  • text - (string) - html text for rendering in the scheduler

Example​

scheduler.templates.month_day = function(date){
const dateToStr_func = scheduler.date.date_to_str(scheduler.config.month_day);
return dateToStr_func(date);
};

Applicable views: Month view, Year view

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.