Fix wiki version date display bug for old edits
It seems that in Danbooru 1 wiki page version's created_at was always the initial created_at of the wiki page itself, as opposed to the time that the edit was made like in Danbooru 2.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div id="a-diff">
|
||||
<h1>Wiki Page: <%= @thispage.title %></h1>
|
||||
|
||||
<p>Showing differences between <%= compact_time @thispage.created_at %> (<%= link_to_user @thispage.updater %>) and <%= compact_time @otherpage.created_at %> (<%= link_to_user @otherpage.updater %>)</p>
|
||||
<p>Showing differences between <%= compact_time @thispage.updated_at %> (<%= link_to_user @thispage.updater %>) and <%= compact_time @otherpage.updated_at %> (<%= link_to_user @otherpage.updater %>)</p>
|
||||
|
||||
<p><%= wiki_page_other_names_diff(@thispage, @otherpage) %></p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user