<%= date.toString("MMM") %>
<%= date.toString("d") %>
<%if(parseInt(data.resource[i].allDay)){%>
Durante o dia todo
<%}else{%>
<%= date.toString("HH:mm") %>
<%= new Date(parseInt(data.resource[i].endTime)).toString("HH:mm") %>
<%}%>
<%=data.resource[i].summary %>
<%=data.resource[i].description%>
<%}%>
<%}else{%>