зеркало из https://github.com/microsoft/git.git
Fix the timezone formatting. Now qgit also displays (parses) it correctly.
Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
Родитель
fd4ca86a0b
Коммит
f291b4e3d4
|
@ -922,10 +922,7 @@ class P4Sync(Command):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.tz = - time.timezone / 36
|
self.tz = "%+03d%02d" % (- time.timezone / 3600, ((- time.timezone % 3600) / 60))
|
||||||
tzsign = ("%s" % self.tz)[0]
|
|
||||||
if tzsign != '+' and tzsign != '-':
|
|
||||||
self.tz = "+" + ("%s" % self.tz)
|
|
||||||
|
|
||||||
self.gitOutput, self.gitStream, self.gitError = popen2.popen3("git fast-import")
|
self.gitOutput, self.gitStream, self.gitError = popen2.popen3("git fast-import")
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче