Skip to main content

UNITS_date

info

This functionality is available in the PRO edition only.

Description​

Specifies the date in the header of the view

UNITS_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.unit_date = function(date){
return scheduler.templates.day_date(date);
};

Applicable views: Units view

Details​

note

The template requires the units plugin to be activated.

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.