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

week_agenda_scale_date

к сведению

Эта функция доступна только в PRO-версии.

Description

Дата, отображаемая в ячейке дня в представлении

week_agenda_scale_date: (date: Date) => string

Parameters

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

Returns

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

Example

scheduler.templates.week_agenda_scale_date = function(date) {
var scale_date_format = scheduler.date.date_to_str("%l, %F %d");
return scale_date_format(date);
};

Applicable views: Week Agenda view

Details

примечание

Этот шаблон требует включения плагина week_agenda.

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.