load_format

specifies the format of requests in the dynamic loading mode

dateDatethe date which needs formatting

Example

scheduler.templates.load_format = function(date){
    var dateToStr_func = scheduler.date.date_to_str(scheduler.config.load_date);
    return  dateToStr_func(date);
 
}

Details

The default format of requests is:

some.php?from=DATEHERE&to=DATEHERE

where DATEHERE - a valid date value in the format defined by the load_date option (according to the default definition of the load_format template).

See also
Back to top