format date

This commit is contained in:
Andrew Tomaka 2015-04-28 10:33:21 -04:00
parent c4e4c73b04
commit e205cda124

View file

@ -4,7 +4,7 @@
<ul class="list-group">
<li class="list-group-item text-right">
<span class="pull-left"><strong>Kill Date:</strong></span>
<%= @first_negative.created_at if @first_negative %>
<%= @first_negative.created_at.strftime('%H:%M on %m-%d-%Y') if @first_negative %>
<li class="list-group-item text-right">
<span class="pull-left"><strong>Killing Blow:</strong></span>
<%= @first_negative.attacker if @first_negative %>