event_date

specifies the time part of the start and end dates of the event. Mostly used by other templates for presenting time periods

Parameters

dateDatethe date which needs formatting

Example

scheduler.templates.event_date = function(date){
    var formatFunc = scheduler.date.date_to_str(scheduler.config.hour_date);
    return formatFunc(date);
}

See also
Back to top