diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-03 12:11:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-03 12:11:23 +0000 |
commit | 5c3caf2e6b348fe32f6a18b6bc76d26a8017bfc1 (patch) | |
tree | a51560ae3b2b238f002c8e87bccb96e14b2b97c7 /lib | |
parent | 923558e45c11184d50be70ca12702dd7a54662ea (diff) | |
download | redmine-5c3caf2e6b348fe32f6a18b6bc76d26a8017bfc1.tar.gz redmine-5c3caf2e6b348fe32f6a18b6bc76d26a8017bfc1.zip |
scm: mercurial: remove localtime from adapter (#4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4994 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/mercurial_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |