Fix the timezone formatting. Now qgit also displays (parses) it correctly.
Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
parent
fd4ca86a0b
commit
f291b4e3d4
@ -922,10 +922,7 @@ class P4Sync(Command):
|
||||
except:
|
||||
pass
|
||||
|
||||
self.tz = - time.timezone / 36
|
||||
tzsign = ("%s" % self.tz)[0]
|
||||
if tzsign != '+' and tzsign != '-':
|
||||
self.tz = "+" + ("%s" % self.tz)
|
||||
self.tz = "%+03d%02d" % (- time.timezone / 3600, ((- time.timezone % 3600) / 60))
|
||||
|
||||
self.gitOutput, self.gitStream, self.gitError = popen2.popen3("git fast-import")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user