We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f84bb commit 7f166c1Copy full SHA for 7f166c1
app/views/home/dashboard.html.erb
@@ -35,7 +35,7 @@
35
<td class="text-center"><%= @papers_last_3_months[editor.id].to_i %></td>
36
<td class="text-center"><%= @papers_last_year[editor.id].to_i %></td>
37
<td class="text-center"><%= @papers_all_time[editor.id].to_i %></td>
38
- <td class="text-center" style="font-size: 0.9em;"><%= time_ago_in_words(editor.created_at) %> ago</td>
+ <td class="text-center" style="font-size: 0.9em;"><%= distance_of_time_in_words(editor.created_at, Time.current) %> ago</td>
39
</tr>
40
<% end %>
41
</tbody>
0 commit comments