Skip to content
Snippets Groups Projects
Commit e7587430 authored by Augie Fackler's avatar Augie Fackler
Browse files

git: also convert timezone to int (issue6359)

Credit to moshez for testing this in the wild.

Differential Revision: https://phab.mercurial-scm.org/D9062
parent 5eee6f4f
No related branches found
No related tags found
No related merge requests found
......@@ -389,7 +389,7 @@
sig = pygit2.Signature(
encoding.unifromlocal(stringutil.person(user)),
encoding.unifromlocal(stringutil.email(user)),
timestamp,
int(timestamp),
-int(tz // 60),
)
oid = self.gitrepo.create_commit(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment