Merge pull request #581 from dekimsey/log-opt-author

Changed history date to use authored date instead.
This commit is contained in:
bootstraponline
2012-11-13 16:54:14 -08:00
+1 -1
View File
@@ -19,7 +19,7 @@ module Precious
:selected => @page.version.id == v.id,
:author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
:message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
:date => v.committed_date.strftime("%B %d, %Y"),
:date => v.authored_date.strftime("%B %d, %Y"),
:gravatar => Digest::MD5.hexdigest(v.author.email) }
end
end