Commit fe21a23937d368fb229e1a719a8898aea3f8a385

Authored by Arthur Neves
1 parent 77318a62
Exists in master and in 1 other branch production

add include_seconds on time_ago_in_words, as new API

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/problems/show.html.haml
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
34 - if Errbit::Config.use_gravatar 34 - if Errbit::Config.use_gravatar
35 = gravatar_tag comment.user.email, :s => 24 35 = gravatar_tag comment.user.email, :s => 24
36 %span.comment-info 36 %span.comment-info
37 - = time_ago_in_words(comment.created_at, true) << " ago by " 37 + = time_ago_in_words(comment.created_at, include_seconds: true) << " ago by "
38 = link_to comment.user.email, comment.user 38 = link_to comment.user.email, comment.user
39 - else 39 - else
40 %span.comment-info 40 %span.comment-info