Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jason simmons on Jan 18, 2010 14:54
open dhtmlx forum
End date format options in recurring events. And Mandatory end date


Format of date in “end by” field, can be controlled by

scheduler.config.repeat_date (possible values)

Could you please indicate what format the "possible values" take.

Plus when defining a recurring event , can you tell me to to force the user to force a end date.

Users have the ability to hang the browser with end dates set to 9999-02-01 00:00:00

Thanks
Answer posted by Stanislav (support) on Jan 19, 2010 02:09
While form presents few way to define end data, on form  closing all of them converted to some fixed date. 
You can edit form template to remove unnecessary options or change directly in code of dhtmlxscheduler_recurring.js
next line

if (els["end"][0].checked){
dates.end = new Date(9999,1,1);

can be update with any other default date.