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
This commit is contained in:
parent
8d5617fc8b
commit
e2f79f7c0d
|
@ -109,7 +109,7 @@ module Redmine
|
||||||
begin
|
begin
|
||||||
id = lines[0].split[1]
|
id = lines[0].split[1]
|
||||||
author = lines[1].match('Author:\s+(.*)$')[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({
|
Revision.new({
|
||||||
:identifier => id,
|
:identifier => id,
|
||||||
|
|
Loading…
Reference in New Issue