From: Toshi MARUYAMA Date: Thu, 3 Mar 2011 12:11:23 +0000 (+0000) Subject: scm: mercurial: remove localtime from adapter (#4455). X-Git-Tag: 1.2.0~836 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5c3caf2e6b348fe32f6a18b6bc76d26a8017bfc1;p=redmine.git scm: mercurial: remove localtime from adapter (#4455). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4994 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb index 1f9153fab..d41ed7a3f 100644 --- a/lib/redmine/scm/adapters/mercurial_adapter.rb +++ b/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