diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-14 08:45:54 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-14 08:45:54 +0000 |
commit | 9c1db1e545cc1ade92f4765dfb2eae48f1de5ec7 (patch) | |
tree | 2f9dd2eb11776566baabfcde5640048d51cbaaaf /lib/redmine/scm | |
parent | cc4e8fe0d62387a0e015a5f22b451508c7d71e93 (diff) | |
download | redmine-9c1db1e545cc1ade92f4765dfb2eae48f1de5ec7.tar.gz redmine-9c1db1e545cc1ade92f4765dfb2eae48f1de5ec7.zip |
scm: git: remove localtime (#6346).
No needs to use localtime.
If we use localtime, we should clone.
See r4794 and r4802.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4823 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r-- | lib/redmine/scm/adapters/git_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index a241f8393..88514439a 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -109,7 +109,7 @@ module Redmine begin id = lines[0].split[1] author = lines[1].match('Author:\s+(.*)$')[1] - time = Time.parse(lines[4].match('CommitDate:\s+(.*)$')[1]).localtime + time = Time.parse(lines[4].match('CommitDate:\s+(.*)$')[1]) Revision.new({ :identifier => id, |