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

@@ -26,10 +26,9 @@
<%= status_diff_html(wiki_page_version, params[:type]) %>
<% end %>
<% t.column "Updated", width: "26%" do |wiki_page_version| %>
<%= compact_time(wiki_page_version.updated_at) %>
by
<%= link_to_user wiki_page_version.updater %>
<%= link_to "»", wiki_page_versions_path(search: { updater_id: wiki_page_version.updater.id }) %>
<div><%= compact_time(wiki_page_version.updated_at) %></div>
<% end %>
<% end %>