api_date

specifies the format of dates that are set by means of API methods. Used to parse incoming dates

dateDatethe date which needs formatting

Example

scheduler.templates.api_date = function(date){
    return scheduler.date.str_to_date(scheduler.config.api_date);
};

Back to top