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

api_date

Description

Задаёт формат даты, используемый методами API для обработки дат. Это помогает корректно интерпретировать входящие значения дат.

api_date: (date: Date) => string

Parameters

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

Returns

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

Example

scheduler.templates.api_date = function(date){
return scheduler.date.str_to_date(scheduler.config.api_date);
};
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.