# HG changeset patch # User Ian Moody # Date 1555951617 -3600 # Node ID c0e30c9ee5ba11f01c3f5e949d732b50c93e5fb6 # Parent 289d82a070e9ed463dbcb089964de804aee0459d phabricator: set local:commits time metadata as an int, not a string Same as arcanist does Differential Revision: https://phab.mercurial-scm.org/D6296 diff -r 289d82a070e9 -r c0e30c9ee5ba hgext/phabricator.py --- a/hgext/phabricator.py Mon Apr 22 17:46:01 2019 +0100 +++ b/hgext/phabricator.py Mon Apr 22 17:46:57 2019 +0100 @@ -397,7 +397,7 @@ ctx.hex(): { b'author': stringutil.person(ctx.user()), b'authorEmail': stringutil.email(ctx.user()), - b'time': b'%d' % ctx.date()[0], + b'time': int(ctx.date()[0]), }, }), }