Skip to main content

api_date

Description

Specifies the format of dates that are set by means of API methods. Used to parse incoming dates

api_date: (date: Date) => string

Parameters

  • date - (required) Date - the date which needs formatting

Returns

  • text - (string) - html text for rendering in the 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.