This is a migrated thread and some comments may be shown as answers.

Day View only showing All Day Events

1 Answer 166 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 05 Aug 2013, 05:42 AM
I am not sure how to troubleshoot this.  I have Week, Month and Agenda views working great.  I just enabled Day view and wrote my templates just like all the other views.  My "All Day" events are showing up just fine... the time events however are not rendering at all.  There are no errors.  They just don't show up.

What's strange is that even if I give it an invalid eventTemplate, it won't "crash" - it is like it never thinks it needs to render any of the non-all day events.  The exact same data is working on Month, Agenda and Week views however... so I don't think the JSON from the server is wrong.


Thoughts?

1 Answer, 1 is accepted

Sort by
0
Accepted
Aaron
Top achievements
Rank 1
answered on 05 Aug 2013, 05:53 AM
Well, 30 minutes of additional digging yielded the answer.  I didn't realize that in Day View it was re-retrieving data for each day.  I had a custom data filter handler that was passing Start and End dates to my server-side code.  Because we store things in GMT on the server, I needed to fix the passed date range for the SINGLE day to get the right stuff.  This was working on Agenda / Month / Week views because the range was wide enough to get all the events.
Tags
Scheduler
Asked by
Aaron
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 1
Share this question
or