calendar_scale_date
Description
Задаёт формат для меток дней недели в заголовке Мини-Календаря (date picker)
calendar_scale_date: (date: Date) => string
Parameters
date- (required) Date - конкретная дата, представляющая день недели для ячейки заголовка
Returns
text- (string) - внутреннее HTML-содержимое для ячейки заголовка
Example
const weekDayLabel = scheduler.date.date_to_str("%D");
scheduler.templates.calendar_scale_date = function (date) {
// M | T | W | T | F | S | S
return weekDayLabel(date).substr(0, 1);
};
Details
примечание
Этот шаблон работает только при включённом плагине minical.

Related API
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.