Skip to main content

date_format

Description

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

date_format: string

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"

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.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.