Calendar setDateFormat %n bugged

		var cal = new dhtmlxCalendarObject(input);
		var date_format = "%M %n, %Y";
		cal.setDateFormat(date_format);

return [Uncaught ReferenceError: date is not defined]

Please try to use the latest calendar libraries - viewtopic.php?f=7&t=20171&p=64207#p64124 formatting was fixed there.