Recurring Events "end by" Field

I have included scheduler.config.repeat_date = "%d/%m/%Y"; (not scheduler.config.repeat_date ("%d/%m/%Y"); as it says in the documentation on your site) but it is not changing the format. It still displays as dd.mm.yyyy.

If scheduler.config.repeat_date("%d/%m/%Y"); is correct, then I get an error when the code runs.

The next command is correct

scheduler.config.repeat_date = "%d/%m/%Y"

beware that it need to be executed before opening the edit lightbox for first time.

Can you point please, where in docs the incorrect syntax was mentioned?
scheduler.config.repeat_date ("%d/%m/%Y");

Stanislav

it is here http://docs.dhtmlx.com/doku.php?id=dhtmlxscheduler:recurring_events. The incorrect line is four lines under the light box screen shot.

My code is as follows:

function init() {
	var date = new Date();
	var d = date.getDate();
	var m = date.getMonth() - 1;
	var y = date.getFullYear();

	scheduler.config.xml_date = "%Y-%m-%d %H:%i";
	scheduler.config.repeat_date = "%d/%m/%Y";
	scheduler.init("scheduler_here", new Date(y, m, d), "month");
	scheduler.setLoadMode("month");
	scheduler.load("/Calendar/Data");

	var dp = new dataProcessor("/Calendar/Save");
	dp.init(scheduler);
	dp.setTransactionMode("POST", false);
}

I believe I have the line in the correct position.

Hello,

Yes, thank you very much for this report.
It seems for now this value is hardcoded in the template used for scheduler so initial value will be displayed exactly as it’s writting in the template (01.01.2010) but for all save and re-open operation date formate function based on config.repeat_date will be used.
I believe will introduce additional property for such case.

For now you can change it youself:

  1. Open dhtmlxscheduler_recurring.js file
  2. Locate ‘01.01.2010’ part and change it to your format - ‘01/01/2001’.

Best regards,
Ilya

Thanks, Ilya