custom formatting in scheduler.config.xml_date not working

When using the below code:

scheduler.config.xml_date = "%Y%m%d %H:%i";
scheduler.init('scheduler_here', new Date(2011,01,14), "week");
    
scheduler.parse([
    { start_date:"20110215 06:00", end_date:"20110215 08:00", text:"Some text"},
    { start_date:"20110218 06:00", end_date:"20110218 08:00", text:"Some text 2"
],"json");

The events are never parsed.

In fact, it doesn’t matter what format string I use in xml_date the ‘parse’ event will only ever find events in the format of: ‘%Y-%m-%d %H:%i’.

(I’ve also tried setting api_date, it had no effect)

Scheduler can’t parse dates in non-separated formats
So 20110215 will not work , but 2011-02-15 or 2011 02 15 or 2011-02/15 or many other variations will work fine.

Ah. That would explain it. Thank You.
I was trying to save a few extra bytes in the JSON data.