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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4994 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Toshi MARUYAMA 14 years ago committed by Eric Davis
parent ac227939ad
commit 51d4785bde
  1. 2
      lib/redmine/scm/adapters/mercurial_adapter.rb

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

Loading…
Cancel
Save