본문으로 건너뛰기

week_date

Description

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

week_date: (start: Date, end: Date) => string

Parameters

  • start - (required) Date - 뷰의 시작 날짜
  • end - (required) Date - 뷰의 종료 날짜

Returns

  • text - (string) - 스케줄러에 표시할 HTML 텍스트

Example

scheduler.templates.week_date = function(start, end){
return scheduler.templates.day_date(start)+" – "+
scheduler.templates.day_date(scheduler.date.add(end,-1,"day"));
};

Applicable views: Week view, Week Agenda 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.