day_date

sets the date format for the X-Axis of the Week and Units views

string day_date;

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

The config will take effect only if it is applied before the first initialization of the scheduler:

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

If you want to change the date format after the initialization, you need to redefine the day_date template:

var formatDayDate = scheduler.date.date_to_str("%F %j");
scheduler.templates.day_date = function(date) {
    return formatDayDate(date);
};
See also
Back to top