본문으로 건너뛰기

day_date

Description

주간(Week) 및 단위(Units) 뷰의 X축에 사용되는 날짜 형식을 지정합니다.

day_date: string

Example

scheduler.config.day_date = "%F %j";
...
scheduler.init('scheduler_here', new Date(2013, 7, 5), "week");

Default value: "%D, %F %j"

Applicable views: Week view, Units view

Details

weekView_properties

이 설정은 스케줄러가 처음 초기화되기 전에 설정된 경우에만 적용됩니다:

scheduler.config.day_date = "%F %j";
scheduler.init('scheduler_here', new Date(2020, 7, 5), "day");

초기화 후에 날짜 형식을 변경하려면 day_date 템플릿을 오버라이드해야 합니다:

var formatDayDate = scheduler.date.date_to_str("%F %j");
scheduler.templates.day_date = function(date) {
return formatDayDate(date);
};
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.