Hi,
I’m trying to send JSON data to the scheduler. My format looks like:
[ {
// ...
"start_date": "2015-10-02[b]T[/b]22:15:00",
"end_date": "2015-10-02[b]T[/b]22:20:00",
// ...
}, ... ]
As it turns out the scheduler doesn’t seem to support this format (dates are invalid). I tried to change the
scheduler.config.xml_date = “%Y-%m-%dT%H:%i”;
which allows dates like “start_date”: “2015-10-02 22:15:00”,
but not like “start_date”: “2015-10-02T22:15:00”, (notice the T between the date and the time).
I would like to stick to the standard JSON date format (ISO 8601), how can I do this?
BTW, when sending data to the server this seems to be the format that is used.
Ref article: hanselman.com/blog/OnTheNigh … ebAPI.aspx
TIA for your support,
Gaston