Commit fe21a23937d368fb229e1a719a8898aea3f8a385
1 parent
77318a62
Exists in
master
and in
1 other branch
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 | 34 | - if Errbit::Config.use_gravatar |
35 | 35 | = gravatar_tag comment.user.email, :s => 24 |
36 | 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 | 38 | = link_to comment.user.email, comment.user |
39 | 39 | - else |
40 | 40 | %span.comment-info | ... | ... |