minicalendar randomly showing events?

I just noticed that when I bring up the minicalendar (which I am using for calendar navigation) it shows some dates highlighted in yellow. But those dates do not appear to correspond with the events that are actually in my calendar.

We can’t reconstruct the same issue locally.
If problem still occurs - please provide any kind of sample or demo link where it can be reconstructed.

You have some strange data loaded. For most events start time is bigger then end time. ( such events not shown in minical )

Really? which events?


For example:

<event id='684' ><start_date><![CDATA[2010-11-14 10:00:00]]></start_date><end_date><![CDATA[2010-11-14 1:00:00 PM]]></end_date><text><![CDATA[Fairbank: Framingham to Harvard]]>

Notice different time formats.
And as a result event object have following properties:

duration: "180" end_date: Sun Nov 14 2010 01:00:00 GMT+0200 (E. Europe Standard Time) id: "684" start_date: Sun Nov 14 2010 10:00:00 GMT+0200 (E. Europe Standard Time) text: "Fairbank: Framingham to Harvard"
If i remember correctly you were trying to set end_date for events based on their duration which you actually store in database?

Best regards,

Oh good catch, looks like I am using 12 hour format for end.