본문으로 건너뛰기

year_month

Description

뷰 내 월 블록 헤더에 표시되는 월 이름을 정의합니다.

year_month: (date: Date) => string

Parameters

  • date - (required) Date - 포맷팅할 날짜입니다.

Returns

  • text - (string) - 스케줄러에 표시할 html 콘텐츠입니다.

Example

const formatMonth = scheduler.date.date_to_str("%F");
scheduler.templates.year_month = function(date){
return formatMonth(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.