lib/almanack/themes/starter/views/events.erb in almanack-1.0.5 vs lib/almanack/themes/starter/views/events.erb in almanack-1.1.0.beta1
- old
+ new
@@ -2,11 +2,11 @@
<div class="events">
<% calendar.events.each do |event| %>
<div class="event">
<div class="date">
- <div class="month"><%= event.start_date.strftime('%a') %></div>
- <div class="day"><%= event.start_date.strftime('%d') %></div>
+ <div class="month"><%= event.start_time.strftime('%a') %></div>
+ <div class="day"><%= event.start_time.strftime('%d') %></div>
</div>
<div class="details">
<h3 class="title"><%= event.title %></h3>
<% if event.description %>