본문으로 건너뛰기

day_date

Description

Day 및 Units 뷰의 헤더에 표시되는 날짜를 정의합니다.

day_date: (date: Date) => string

Parameters

  • date - (required) Date - 포맷팅되어야 하는 날짜

Returns

  • text - (string) - 스케줄러에 표시될 html 텍스트

Example

scheduler.templates.day_date = function(date){
var formatFunc = scheduler.date.date_to_str(scheduler.config.default_date);
return formatFunc(date);
};

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