2

I am using the FullCalendar plugin for JQuery, and I am trying to create a recurring event that spans multiple days. In this instance I want a recurring event that starts at 10am Monday and ends at 3am Tuesday.

I have researched how to do recurring events, such as this, but I can't seem to get it to work across multiple days.

For example, creating a recurring event on the same day like this works fine:

{
  start: '10:00',
  end:   '15:00',
  dow: [1]
}

However, trying to span the event overnight doesn't work ( I mean Monday 10:00 to Tuesday 03:00 ):

{
  start: '10:00',
  end:   '03:00',
  dow: [1]
}

It just seems to create a 2-hour event.

Is it possible to do what I want? And if so, how?

enter image description here

Community
  • 1
  • 1
shingo.nakanishi
  • 2,045
  • 2
  • 21
  • 55
  • 2
    I have made some considerable changes to your question to try and explain the issue better, I hope you are happy with these changes. Hopefully this will get your question some more attention. For what it's worth, I have done a little research and I can't seem to find a solution. It may be that this is a limitation of the plugin – musefan Aug 21 '15 at 09:14
  • @musefan thank you. english became clear(good). – shingo.nakanishi Aug 21 '15 at 09:16

1 Answers1

4

The answer I gave on the page you linked (here) should work. You just need to use the right times.

This won't work

{
  start: '10:00', //starts at 10 on monday
  end:   '03:00', //ends at 3 on monday? gets ignored
  dow: [1]
}

Instead:

{
  start: '10:00', //starts at 10 on monday
  end:   '27:00', //24+3 is handled correctly.
  dow: [1]
}

JSFiddle Demo

Community
  • 1
  • 1
DanielST
  • 13,783
  • 7
  • 42
  • 65