show exact time on hover

This commit is contained in:
jomo
2014-05-02 05:17:21 +02:00
parent a2ac6582b1
commit b5b9a9316f
6 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
<div class="header <%= "op" if c.author.is?(c.blogpost.author) %>">
<%= link_to(c.author.avatar(64), c.author, title: c.author.ign) %>
<%= render partial: "users/username", locals: { user: c.author } %>
<%= link_to "#comment-#{c.id}" do %><time datetime="<%= c.created_at.to_datetime.rfc3339 %>"><%= c.created_at.strftime("%e %b %Y, %H:%M") %></time><% end %>
<%= link_to "#comment-#{c.id}" do %><time title="<%= c.created_at.strftime("%e %b %Y, %H:%M") %>" datetime="<%= c.created_at.to_datetime.rfc3339 %>"><%= c.created_at.strftime("%e %b %Y, %H:%M") %></time><% end %>
<%= link_to "edit", edit_blogpost_comment_path(c.blogpost, c), class: "editlink" if (mod? || c.author.is?(current_user)) %>
<div class="clear-right"></div>