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.
Unfortunately, activation email could not send to your email. Please try again.

RecurrenceEditor initially doesnt respect start date

Thread ID:





126306 Oct 6,2016 10:23 AM Oct 7,2016 09:23 AM JavaScript 2
Tags: ejSchedule
Asked On October 6, 2016 10:23 AM

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.

Replied On October 6, 2016 10:50 AM

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

Karthigeyan Krishnamurthi [Syncfusion]
Replied On October 7, 2016 09:23 AM

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. 

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



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.