{timelineName}_scale_date

specifies items of the X-Axis

Parameters

dateDatethe date which needs formatting

Available only in PRO Edition

Example

scheduler.templates.timeline_scale_date = function(date){
   var timeline = scheduler.matrix.timeline;
   var func = scheduler.date.date_to_str(timeline.x_date||scheduler.config.hour_date);
   return func(date);
}

Applicable views:Timeline View
See also
Back to top