month_scale_date
Description
Определяет формат даты, используемый на оси X в месячном представлении
month_scale_date: (date: Date) => string
Parameters
date- (required) Date - дата, которую необходимо отформатировать
Returns
text- (string) - html текст, который будет отображаться в scheduler
Example
const formatMonthScale = scheduler.date.date_to_str("%l");
scheduler.templates.month_scale_date = function(date){
return formatMonthScale(date);
};
Applicable views: Month view
Related Guides
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.