My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 258: Event Misplaced
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Dec 2009


Sign in to add a comment
 
Reported by naimliss...@gmail.com, Dec 22, 2009
There seems to be an issue with my fullcalendar:

$(document).ready(function() {
    $('#calendar').fullCalendar({
      theme: true,
      header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
      },
      editable: false,
      events: [
        {
          id: 1,
          title: 'Doloribus',
          start: new Date(2009, 12, 22),
          end: new Date(2009, 12, 23),
          url: '/events/1/edit'
        }
      ]
  });
});

See attached file.
Screen shot 2009-12-22 at 7.26.22 PM.png
35.7 KB   View   Download
Dec 22, 2009
Project Member #1 adamrs...@gmail.com
hi nick,
the javascript "new Date()" accepts the month parameter in 0-based format. "11" is
actually december.
Status: Done
Dec 22, 2009
#2 naimliss...@gmail.com
ahh! thank you so much!
Sign in to add a comment

Powered by Google Project Hosting