{timelineName}_scale_date

specifies items of the X-Axis

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
Details

The template requires the timeline plugin to be activated.

See also
Back to top