Skip to main content

week_agenda_scale_date

info

This functionality is available in the PRO edition only.

Description

The date of a day cell of the view

week_agenda_scale_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.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

note

The template requires the week_agenda 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.