specifies the date in the header of the Day

hello,
i want to show the week number in the header of the day, for this reason, I used the following function:

scheduler.templates.day_date = function(date){
    var formatFunc = scheduler.date.date_to_str(scheduler.config.default_date);
    return  'week:32  ' + formatFunc(date);
};

the problem is that the message “week:32” is duplicated, because i use week mode.
is there solution for this problem because i want to display it a single time.
I thank you in advance


Hi,
you can redefine a template for a week view header as well:
docs.dhtmlx.com/scheduler/snippet/247ba9ca

thank you very much :slight_smile: