Skip to main content

tooltip_date_format

Description

Specifies the format of start and end dates displayed in the tooltip

tooltip_date_format: (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.tooltip_date_format=function (date){
var formatFunc = scheduler.date.date_to_str("%Y-%m-%d %H:%i");
return formatFunc(date);
}

Details

note

The template requires the tooltip plugin to be enabled.

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.