scm: mercurial: remove localtime from adapter (#4455).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4994 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-03 12:11:23 +00:00
parent 923558e45c
commit 5c3caf2e6b
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ module Redmine
yield Revision.new(:revision => le['revision'], yield Revision.new(:revision => le['revision'],
:scmid => le['node'], :scmid => le['node'],
:author => (le['author']['__content__'] rescue ''), :author => (le['author']['__content__'] rescue ''),
:time => Time.parse(le['date']['__content__']).localtime, :time => Time.parse(le['date']['__content__']),
:message => le['msg']['__content__'], :message => le['msg']['__content__'],
:paths => paths) :paths => paths)
end end