We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

RecurrenceEditor initially doesnt respect start date

Example http://jsplayground.syncfusion.com/s14xdaej

I made the example on Thursday 6 October

When clicking a day before thursday in the weekly recurrence the recurrenceDateGenerator calculates a date before the startdate. So today clicking on monday generates dates including a Oct 3rd.

2 Replies

WO Wouter October 6, 2016 02:50 PM UTC

Example doesnt run, i meant this http://jsplayground.syncfusion.com/jae2dhpa


KK Karthigeyan Krishnamurthi Syncfusion Team October 7, 2016 01:23 PM UTC

Hi Wouter, 

Thank you for contacting Syncfusion support. 

In the provided sample args.model.startDate value is directly used in the public function recurrenceDateGenerator which is the cause for the issue. Kindly use the following code example to overcome the reported issue. 

<Code> 
var d = re.recurrenceDateGenerator(args.recurrenceRule, new Date(args.model.startDate)); 
</Code> 

Regards, 
Karthigeyan 


Loader.
Up arrow icon