{timelineName}_second_scale_date

specifies items of the second X-Axis

dateDatethe date which needs formatting

Available only in PRO Edition

Example

scheduler.templates.timeline_second_scale_date = function(date){
    var timeline = scheduler.matrix.timeline;
    var func = scheduler.date.date_to_str(
        (timeline.second_scale && timeline.second_scale.x_date)?
        timeline.second_scale.x_date:scheduler.config.hour_date
    );
    return func(date);
};

Applicable views:Timeline View
Details

The template requires the timeline plugin to be activated.

See also
Back to top