{timelineName}_second_scale_date

определяет элементы, отображаемые на вторичной оси X

dateDateдата, которую необходимо отформатировать

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"
Details

Этот template работает только при включенном плагине timeline.

See also
Наверх