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

day_scale_date

Description

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

day_scale_date: (date: Date) => string

Parameters

  • date - (required) Date - дата, которую необходимо отформатировать

Returns

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

Example

const formatDayScale = scheduler.date.date_to_str("%j %M %Y");

scheduler.templates.day_scale_date = function(date){
return formatDayScale(date);
};

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