Ņonverts date object to a date string. Used to send data back to the server
date | Date | the date which needs formatting |
var dateToStr = scheduler.date.date_to_str("%Y-%m-%d %H:%i");
scheduler.templates.format_date = function(date){
return dateToStr (date);
};
Check Date Format Specification.