Перейти к основному содержимому

year_scale_date

Description

Определяет название дня, отображаемое в подзаголовке внутри блока месяца в представлении

year_scale_date: (date: Date) => string

Parameters

  • date - (required) Date - дата для форматирования

Returns

  • text - (string) - html-контент для отображения в scheduler

Example

const formatScaleDate = scheduler.date.date_to_str("%D");
scheduler.templates.year_scale_date = function(date){
return formatScaleDate(date);
};

Applicable views: Year view

Details

примечание

Этот template требует включения плагина 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.