From fe21a23937d368fb229e1a719a8898aea3f8a385 Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Mon, 22 Dec 2014 23:53:34 -0500 Subject: [PATCH] add include_seconds on time_ago_in_words, as new API --- app/views/problems/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/problems/show.html.haml b/app/views/problems/show.html.haml index 3f1cf39..e5941b2 100644 --- a/app/views/problems/show.html.haml +++ b/app/views/problems/show.html.haml @@ -34,7 +34,7 @@ - if Errbit::Config.use_gravatar = gravatar_tag comment.user.email, :s => 24 %span.comment-info - = time_ago_in_words(comment.created_at, true) << " ago by " + = time_ago_in_words(comment.created_at, include_seconds: true) << " ago by " = link_to comment.user.email, comment.user - else %span.comment-info -- libgit2 0.21.2