title: Fullcalendar combined with bootstrap-datepicker
body: <p>I'm try to update fullcalendar event after user change date from bootstrap-datepicker: <a href="http://bootstrap-datepicker.readthedocs.org/en/latest/events.html" rel="nofollow noreferrer">http://bootstrap-datepicker.readthedocs.org/en/latest/events.html</a></p>
  
  <p>I'm following the (only) solution found here: <a href="https://stackoverflow.com/questions/7878898/how-to-combine-jquery-date-picker-and-jquery-full-calendar">How to combine jquery date-picker and jquery full calendar</a></p>
  
  <p>which for bootstrap-datepicker would be:</p>
  
  <pre><code>$('#fullcalEventEnd').datepicker().on('changeDate', function(evt){
                  var endDate = evt.date;
  
                  list.eventUpdated.end = moment(endDate).format("DD-MM-YYYY");
                  $(cal).fullCalendar('renderEvent', list.eventUpdated, true);
      });
  </code></pre>
  
  <p>What it should do is, update an event created once the user selects the calendar, so on my select function i have:</p>
  
  <pre><code>  select: function(start, end) {
  
              $('#fullcalEventFrom').datepicker('setValue', start);
              $('#fullcalEventTo').datepicker('setValue', end);
  
              list.eventUpdated = {
                  title: eventTitle,
                  start: start,
                  end: end
              };
  
              $(cal).fullCalendar('renderEvent', list.eventUpdated, true); // stick? = true
              $(cal).fullCalendar('updateEvent', event);
          }, 
          ....
  </code></pre>
  
  <p><code>list</code> is my global object: <code>var list = {}</code></p>
  
  <p>But so far nothing, I'm not able to update the event and this line
  <code>$(cal).fullCalendar('renderEvent', list.eventUpdated, true);</code> is giving me an error and I don't understand why</p>
  
  <p>Anyone already face this problem?</p>