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

week_scale_date

Description

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

week_scale_date: (date: Date) => string

Parameters

  • date - (required) Date - дата, которая должна быть отформатирована

Returns

  • text - (string) - html текст, используемый для рендеринга в scheduler

Example

var format = scheduler.date.date_to_str(scheduler.config.day_date);
scheduler.templates.week_scale_date = function(date){
return format(date);
};

Applicable views: Week 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.