Zum Hauptinhalt springen

day_scale_date

Description​

Legt das Datum fest, das in der Unterüberschrift der Day-Ansicht angezeigt wird

day_scale_date: (date: Date) => string

Parameters​

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

Returns​

  • text - (string) - HTML-Text, der für die Darstellung im Scheduler verwendet wird

Example​

const formatDayScale = scheduler.date.date_to_str("%j %M %Y");

scheduler.templates.day_scale_date = function(date){
return formatDayScale(date);
};

Applicable views: Day 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.