views: standardize timestamp format across history pages.

Standardize the timestamp format across various history pages to look like this:

    DanbooruBot »
    2022-01-19 23:28
This commit is contained in:
evazion
2022-01-19 23:33:06 -06:00
parent 00f4fbe2d1
commit 0376765847
10 changed files with 17 additions and 33 deletions

View File

@@ -39,9 +39,7 @@
<% t.column "Updated", width: "5%" do |post_version| %>
<%= link_to_user post_version.updater %>
<%= link_to "»", post_versions_path(search: params[:search].merge({ updater_name: post_version.updater&.name })) %>
<div>
<%= compact_time(post_version.updated_at) %>
</div>
<div><%= compact_time(post_version.updated_at) %></div>
<% end %>
<% t.column column: "action", width: "5%" do |post_version| %>
<% if policy(post_version).undo? %>