My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1341: rendering events
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by albert...@gmail.com, Mar 15, 2012
Hello,
I am using fullcalendar v1.5.3
I am trying to create some reccuring events.

If Date1 and Date2 are the same (date is Feb 05 2012)

	  for (i = 1; i <= 3; i++) {
			Date1.setDate(Date1.getDate() + 7);
			Date2.setDate(Date2.getDate() + 7);

			myevents = {
				modal: true,
				id: 999,
				title: 'New event',
				editable:true,
				start: Date1,
				end: Date2,
				allDay: false
			};	
			
			$calendar.fullCalendar('renderEvent', myevents, false);
}
all the events are displayed on last day of the loop (Feb 19th)

what is wrong in my script ?
Best regards 
Albert

Aug 15, 2013
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting