Zum Hauptinhalt springen

month_scale_date

Description​

Definiert das Datumsformat, das auf der X-Achse in der Monatsansicht verwendet wird

month_scale_date: (date: Date) => string

Parameters​

  • date - (required) Date - Das Datum, das formatiert werden soll

Returns​

  • text - (string) - HTML-Text, der im Scheduler angezeigt wird

Example​

const formatMonthScale = scheduler.date.date_to_str("%l");

scheduler.templates.month_scale_date = function(date){
return formatMonthScale(date);
};

Applicable views: Month view

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.