date_format
Description
定义用于从数据集中解析数据以及向服务器发送日期时使用的日期格式
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"
Related samples
Details
此配置选项负责生成 parse_date 和 format_date 模板函数。 要使用自定义格式,您可以更新此设置,或直接覆盖 parse_date 和 format_date 模板。
Related API
Related Guides
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.