Events not displaying in DAY or WEEK view

I create the schedule then programmatically add my events, I don’t load them from a file. I start the view in the DAY mode but the events do not display. If I switch to the WEEK view they still do not display but when I switch to the MONTH view the events are displayed on the correct day with the correct times showing. Does anyone have a suggestion as to what might be happening? I displayed all my code in a previous post but that post seems to be gone now.

Thanks,
Jim

Hello,

Please provide your code, it’s hard to tell without any information available.
Though note that with

scheduler.config.multi_day = false;

setting events which take more than 1 day won’t be displayed in day and week modes.

Best regards,
Ilya

Thanks, but I am using events that are about 45 minutes in length. I don’t have my code in front of me but this is the command that I am using to add events:

scheduler.addEvent({start_date:“1/27/2011 02:00:00”, end_date:“1/27/2011 02:45:00”,text:sample"});

When I get home tonight I will post the configuration code for the schedule.

Thanks,
Jim

If you are providing dates as strings you need to set correct api_date format, so scheduler will be able to parse dates correctly.

scheduler.config.api_date = “%m/%d/%Y %H:%i:%s”;