Skip to content

Commit a76cffd

Browse files
committedMay 17, 2025·
Date formatting
1 parent 7f166c1 commit a76cffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎app/views/home/dashboard.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<th scope="col" class="text-center" width="8%">Quarter</th>
2222
<th scope="col" class="text-center" width="8%">Year</th>
2323
<th scope="col" class="text-center" width="8%">All time</th>
24-
<th scope="col" class="text-center" width="10%">Active since</th>
24+
<th scope="col" class="text-center" width="10%">Start date</th>
2525
</tr>
2626
</thead>
2727
<tbody>
@@ -35,7 +35,7 @@
3535
<td class="text-center"><%= @papers_last_3_months[editor.id].to_i %></td>
3636
<td class="text-center"><%= @papers_last_year[editor.id].to_i %></td>
3737
<td class="text-center"><%= @papers_all_time[editor.id].to_i %></td>
38-
<td class="text-center" style="font-size: 0.9em;"><%= distance_of_time_in_words(editor.created_at, Time.current) %> ago</td>
38+
<td class="text-center" style="font-size: 0.9em;"><%= editor.created_at.strftime("%Y-%m-%d") %></td>
3939
</tr>
4040
<% end %>
4141
</tbody>

0 commit comments

Comments
 (0)
Please sign in to comment.