DateTime => Time for consistency in changeset code, ok by shaun.
This commit is contained in:
parent
8fe53e4823
commit
898beb7b7f
5 changed files with 9 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
#<%= changeset.id %>
|
||||
|
||||
<td class="<%= cl %>">
|
||||
<% if changeset.closed_at > DateTime.now %> (still editing)
|
||||
<% if changeset.closed_at > Time.now %> (still editing)
|
||||
<% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %>
|
||||
|
||||
<td class="<%= cl %>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue