date_format

sets the date format that is used to parse data from a data set and to send dates back to the server

string date_format;

Example

scheduler.config.date_format = "%Y-%m-%d %H:%i";
...
scheduler.init('scheduler_here',new Date(2019,0,10),"week");
scheduler.load("/data/events");


Default value:

"%Y-%m-%d %H:%i"

Related samples

Details

This config value is used to generate parse_date and format_date template functions. If you want to use a custom format, you can either change this config, or redefine parse_date and format_date templates directly.

See also
Back to top