본문으로 건너뛰기

year_date

Description

뷰의 헤더에 표시되는 날짜를 설정합니다

year_date: (date: Date) => string

Parameters

  • date - (required) Date - 포맷팅이 필요한 날짜

Returns

  • text - (string) - 스케줄러 렌더링에 사용되는 HTML 텍스트

Example

var date_to_str=scheduler.date.date_to_str(scheduler.locale.labels.year_tab +" %Y");

scheduler.templates.year_date = function(date){
return date_to_str(date);
};

Applicable views: Year view

Details

노트

이 템플릿은 year_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.