Skip to content
Browse files

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

Changed history date to use authored date instead.
  • Loading branch information...
2 parents 138a155 + ff0d59c commit c8f684895c79ef80337eda7cdfe2fcf03281d744 @bootstraponline bootstraponline committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/gollum/frontend/views/history.rb
View
2 lib/gollum/frontend/views/history.rb
@@ -19,7 +19,7 @@ def versions
: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

0 comments on commit c8f6848

Please sign in to comment.
Something went wrong with that request. Please try again.