<%= cal.locale.time %>
<%= cal.locale.events %>
<% if (all_day.length) { %>
All Day
<% _.each(all_day, function(event) { %> <% }); %>
<% } %> <% if (before_time.length) { %>
Before Time
<% _.each(before_time, function(event) { %> <% }); %>
<% } %>
<% for (var i = 0; i < hours; i++) { %>
<% for (var l = 0; l < cal._hour_min(i); l++) { %>
<%= cal._hour(i, l) %>
<% } %>
<% } %>
<% _.each(by_hour, function(event) { %> <% }); %>
<% if (after_time.length) { %>
After Time
<% _.each(after_time, function(event) { %> <% }); %>
<% } %>